Issue with transcribe in C++

Confirm by changing [ ] to [x] below to ensure that it's a bug:

[ ] I've gone though Developer Guide and API reference
[ x] I've searched for previous similar issues and didn't find any solution

Describe the bug
We are trying to use the transcribe service in C++ following the example provided:
https://aws.amazon.com/blogs/developer/real-time-streaming-transcription-with-the-aws-c-sdk/
However, there seems to be compilation error. In the file audio-capture.cpp (part of the example), in function AudioCaptureCallback, the first line is the expression:
auto stream = static_castAws::TranscribeStreamingService::Model::AudioStream(userData);
However, this is reported as error by the compiler and we have to change the line to (i.e. cast to pointer):
auto stream = static_cast<Aws::TranscribeStreamingService::Model::AudioStream *>(userData);
This fixes the compilation error, but now we are unable to get any transcription in Linux, i.e. the program is working fine, but no transcriptions are returned by the cloud.
SDK version number
SDK version is 1.7.9
Thanks

Hi @ktonchev ,
You're right on the pointer cast, thanks for pointing that out.
As for the lack of transcriptions, that's going to be harder to figure out since the code was only meant to be a sample, and there could be multiple silent failure causes, like bad connection to microphone detection.
I will say though that I am able to make it work on my side on linux, mac and windows. So I'd look into your environment configuration.

Hi KaibaLopez,
sorry for the late response, but due to other issues and the holiday season I was unable to reply earliler. If I understand you correctly, you are able to run this example on linux, right ?  If so, I will appreciate if you can give us general guidance on how you did it, only for linux. We will need info about: linux distro, library dependencies, amazon SDK version and compilation flags. We will try to replicate your environment and hopefully your results.
Thansk,
Krasimir

Hi @ktonchev ,
sorry for the lack of response here.
Could you verify that you are still seeing this issue?
There was an update regarding eventstream on version: 1.8.179. Which might have fixed it for you.


chore(deps): rebase 1.2.x plugins to their latest patch versions

Many plugins in the 1.2.x branch do not have room to bump the patch version for an upcoming CVE fix.  This PR rebases the affected plugins to their latest patch versions (just before the Backstage 1.27 update).
The  following backports should not regress the 1.2.x functionality as discussed with @schultzp2020 :

https://github.com/janus-idp/backstage-plugins/pull/1756
https://github.com/janus-idp/backstage-plugins/pull/1811
https://github.com/janus-idp/backstage-plugins/pull/1774
https://github.com/janus-idp/backstage-plugins/pull/1809  cc @riginoommen

Fixes: https://issues.redhat.com/browse/RHIDP-4393

Whoops - wrong PR 🤦🏿

Looks good to me. Most of it was just updating to the LoggerService. I am going to wait to give an approval in case any of the other teams that are impacted want to take a look as well.

LGTM - orchestrator

/lgtm


fitToSuppliedMarkers is triggering onRegionChange and onRegionChangeComplete

Documentation says that onRegionChange and onRegionChangeComplete respond to user events, but fitToSuppliedMarkers is triggering these events as well.
I am trying to perform a new query based on the coordinates passed to onRegionChange and then fit to the markers retrieved in the new query. This causes a loop where the fitToSuppliedMarkers causes onRegionChange to trigger a new query. I've tried "debouncing" but depending on the results the adjusting to supplied markers can take a while.
The other thing which could make this possible, would be to have a callback in fitToSuppliedMarkers so as to stop refreshing data until the fitToSuppliedMarkers finishes adjusting.
If anybody knows a workaround, that's welcome too!
Thanks!

I've come up with a "hacky solution:"
class Map extends React.Componet {
  onChangeRegion() {
    // has a human interacted with the MapView?
    if (!this.state.isReady) return;
  }

  render() {
    return (
      <MapView
          region={this.state.region}
          onRegionChange={this.onRegionChange}
          onPress={() => this.setState({ isReady: true })}
        />
    );
}

Adding that switching the map provider (Google versus Apple) triggers two onRegionChangeComplete events (and probably onRegionChange events too, I haven't checked).

Hello,
In my project I solved this.
My component have a property not in the state named private isReadyToLiveSearch : boolean = false
Because if you do this.setState({isReadyToLiveSearch: true}) you have a re render of the component and you can have some weird behaviour
When I fit the map I set the property to true in a timeout with the same animation time, because if there is no timeout the property will set immediately and the onRegionChangeComplete will be triggered
And I don't execute the real code in my onRegionChangeComplete method until:

this.isReadyToLiveSearch is not equal true
my debouncingValue is undefined

I have:
    private onChangeRegion = (region: MapViewRegion) => {
        if (!this.isReadyToLiveSearch)
            return

        if (this.debounceLiveSearch === undefined)
            this.debounceLiveSearch = _.debounce(region => this.liveSearch(region), 1500)
        else {
            this.debounceLiveSearch.cancel
            this.debounceLiveSearch(region)
        }
    }

onRegionChange is supposed to trigger when the camera region changes, regardless of whether it was caused by a gesture or a programmatic action (e.g. animateToRegion)


The ability to set automatic dark/light theme switching

Describe the solution you'd like
This is kind of a pain point in linux at the moment imo, since neither kde or gnome has this feature ootb. The feature would change the theme of the desktop, for example when the night light switches on, or at a set time, and nothing else, no decorations, no titlebars, only the dark/light preference.
Describe alternatives you've considered
https://github.com/baduhai/Koi
https://github.com/oskarsh/Yin-Yang
ZorinOS had this feature for a good number of years now
Additional context
In kde it's very annoying to go through the settings app and uncheck all the options when you want to change the theme, would be nice to have some agnostic solution, though this may ultimately be the DE's job.
Checklist

[x] I checked for duplicate issues.
[x] I checked already existing discussions.
[x] This feature is not included in the roadmap.

Linutil isn't intended to run as a daemon. This is out of scope. One of the tools you mentioned could be added to the Application Setup, though.


[HUDI-1895] Close the file handles gracefully for flink write functio…

…n to avoid corrupted files
Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2938 (3e98400) into master (5a8b2a4) will decrease coverage by 45.50%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2938       +/-   ##
============================================
- Coverage     54.78%   9.27%   -45.51%
+ Complexity     3811      48     -3763
============================================
  Files           482      54      -428
  Lines         23333    2016    -21317
  Branches       2488     241     -2247
============================================
- Hits          12783     187    -12596
+ Misses         9395    1816     -7579
+ Partials       1155      13     -1142

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.27% <ø> (-60.32%)
48.00 <ø> (-330.00)

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


out of memory error

Author,I want some usefull advices to solve my problem with my the gpu memory lackage except set batch size to 1(I already done).It is OK if the change downgrade the model's performance or slower the tranning speed,I just want to see it trainning.Thank you!

Hi,
You can decrease the input image resolution(img_size) and modify corresponding camera intrinsics in the dataloader(datasets/dtu.py) to solve the gpu memory issue.
Di

@tech-fisher could you solve the issue?


Add all the parameters to the mocked crud functions in endpoint tests instead of using *args

So when the routes pass wrong parameters or not enough parameters to the function, this will get caught. Also assert the correct parameter types in the function mocks.

Closed with v1.3.0


ModuleNotFoundError: No module named 'lmflow' Even though I didn't receive any error messages during installation.

          [2023-05-26 05:49:38,203] [INFO] [launch.py:163:main] dist_world_size=8

[2023-05-26 05:49:38,203] [INFO] [launch.py:165:main] Setting CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
Traceback (most recent call last):
File "/home/user01/.cache1/LMFlow/examples/finetune.py", line 22, in
from lmflow.args import (
ModuleNotFoundError: No module named 'lmflow'
[2023-05-26 05:49:39,206] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094170
[2023-05-26 05:49:39,224] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094171
[2023-05-26 05:49:39,239] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094172
[2023-05-26 05:49:39,239] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094173
[2023-05-26 05:49:39,253] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094174
[2023-05-26 05:49:39,267] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094175
[2023-05-26 05:49:39,280] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094176
[2023-05-26 05:49:39,293] [INFO] [launch.py:314:sigkill_handler] Killing subprocess 2094177
[2023-05-26 05:49:39,307] [ERROR] [launch.py:320:sigkill_handler] ['/usr/bin/python3.10', '-u', 'examples/finetune.py', '--local_rank=7', '--model_name_or_path', 'gpt2', '--dataset_path', '/home/user01/.cache1/LMFlow/data/alpaca/train', '--output_dir', '/home/user01/.cache1/LMFlow/output_models/finetune', '--overwrite_output_dir', '--num_train_epochs', '0.01', '--learning_rate', '2e-5', '--block_size', '512', '--per_device_train_batch_size', '1', '--deepspeed', 'configs/ds_config_zero3.json', '--bf16', '--run_name', 'finetune', '--validation_split_percentage', '0', '--logging_steps', '20', '--do_train', '--ddp_timeout', '72000', '--save_steps', '5000', '--dataloader_num_workers', '1'] exits with return code = 1
pip list |grep lmflow
lmflow                   0.0.1
pip3 list |grep lmflow
lmflow                   0.0.1
I have tried installing it several times, but it keeps showing this error. Could you help me figure out what the problem is?
Originally posted by @haley05-cloud in https://github.com/OptimalScale/LMFlow/issues/305#issuecomment-1563843539
install logs
Building wheels for collected packages: deepspeed, lm-eval, peft, transformers, trl
Building wheel for deepspeed (setup.py) ... done
Created wheel for deepspeed: filename=deepspeed-0.8.3-py3-none-any.whl size=776358 sha256=684ac07331537fddf4384b7cd981e4eca9b2476462098079dfd6091eb5c1a6b2
Stored in directory: /tmp/pip-ephem-wheel-cache-583w_en0/wheels/3f/b0/60/15b10cb5fac88718fa4d189ee3118bcf52d8fa8c9bdb59e06d
Building wheel for lm-eval (setup.py) ... done
Created wheel for lm-eval: filename=lm_eval-0.3.0-py3-none-any.whl size=183837 sha256=c758b324d60aa8ff6f50e2ba274ec0fa7052166a3e3a1296d809069ca97c8074
Stored in directory: /tmp/pip-ephem-wheel-cache-583w_en0/wheels/6e/3f/e4/d4571433d92ff536c7867d844a3e91f0332c4661a30f1f0dac
Building wheel for peft (pyproject.toml) ... done
Created wheel for peft: filename=peft-0.3.0.dev0-py3-none-any.whl size=41746 sha256=188e05d65e221993d13c11aa3dd516a66182d572ac1976190a83ba10fa88ba05
Stored in directory: /tmp/pip-ephem-wheel-cache-583w_en0/wheels/c7/ee/de/37be9df532227b23644f110489009ee791e195bf450f38cbf9
Building wheel for transformers (pyproject.toml) ... done
Created wheel for transformers: filename=transformers-4.28.0.dev0-py3-none-any.whl size=6858413 sha256=c986f3edc842e675046301808ba87c287884c251a754d9109d9f95668b55d0b9
Stored in directory: /tmp/pip-ephem-wheel-cache-583w_en0/wheels/cb/40/23/b5753f3a943d8141b2cbdaed9352b8fb411c274fb75231f98c
Building wheel for trl (setup.py) ... done
Created wheel for trl: filename=trl-0.4.2.dev0-py3-none-any.whl size=67601 sha256=e8e06ff62380f59ee1095bcaf80e991048d37018df34be0431a958ce8c701711
Stored in directory: /tmp/pip-ephem-wheel-cache-583w_en0/wheels/ab/81/88/2e3ddd7591b397b560da92477ae2578b9b6f16f97a57ef49e1
Successfully built deepspeed lm-eval peft transformers trl
Installing collected packages: sentencepiece, cpm_kernels, bitsandbytes, numpy, dill, flask, wandb, transformers, scikit-learn, flask_cors, datasets, evaluate, torch, peft, trl, lm-eval, icetk, deepspeed, lmflow
Running setup.py develop for lmflow
Successfully installed bitsandbytes-0.38.1 cpm_kernels-1.0.11 datasets-2.10.1 deepspeed-0.8.3 dill-0.3.4 evaluate-0.4.0 flask-2.3.2 flask_cors-3.0.10 icetk-0.0.7 lm-eval-0.3.0 lmflow-0.0.1 numpy-1.24.2 peft-0.3.0.dev0 scikit-learn-1.2.2 sentencepiece-0.1.99 torch-2.0.0 transformers-4.28.0.dev0 trl-0.4.2.dev0 wandb-0.14.0

there might be some issues with the python environment. Could you check your python path by which python? and see whether you are using the correct python path.

My installation steps are as follows：
conda create -n lmflow1 python=3.9 -y
conda activate lmflow1
conda install mpi4py
pip install -e .
which python
/home/user01/.anaconda3/envs/lmflow1/bin/python
/home/user01/.anaconda3/envs/lmflow1/bin/python --version
Python 3.9.16

there might be some issues with the python environment. Could you check your python path by which python? and see whether you are using the correct python path.

conda activate lmflow1
which python
/home/user01/.anaconda3/envs/lmflow1/bin/python
/home/user01/.anaconda3/envs/lmflow1/bin/python --version
Python 3.9.16
python --version
Python 3.9.16
My installation steps are as follows:
conda create -n lmflow1 python=3.9 -y
conda activate lmflow1
conda install mpi4py
pip install -e .

I'm sorry.
You can ignore my question. It is due to the system configuration that PATH defaults to searching for the deepspeed binary under .local/bin, instead of using the deepspeed installed in the conda virtual environment.

Hi,
Nice to hear that.


Error installing npm2debian module from the source

npm2debian sources: http://github.com/arikon/npm2debian
npm install --global --prefix ./debian/npm2debian/usr .
npm ERR! Failed unpacking /tmp/npm-1320239650221/1320239650323-0.3454664801247418/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1320239650221/1320239650323-0.3454664801247418/tmp.tgz to /tmp/npm-1320239650221/1320239650323-0.3454664801247418/contents
npm ERR! error installing<EMAIL_ADDRESS>Error: `tar "-zmvxpf" "/tmp/npm-1320239650221/1320239650323-0.3454664801247418/tmp.tgz" "-o"`
npm ERR! error installing<EMAIL_ADDRESS>failed with 2
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.<anonymous> (/usr/lib/node/npm/1.0.103/lib/utils/tar.js:219:20)
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.emit (events.js:67:17)
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1320239650221/1320239650323-0.3454664801247418/tmp.tgz" "-o"`
npm ERR! failed with 2
npm ERR!     at ChildProcess.<anonymous> (/usr/lib/node/npm/1.0.103/lib/utils/tar.js:219:20)
npm ERR!     at ChildProcess.emit (events.js:67:17)
npm ERR!     at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Report this *entire* log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR<EMAIL_ADDRESS>npm ERR!
npm ERR! System Linux 2.6.32-042stab014.1
npm ERR! command "node" "/usr/bin/npm" "install" "--global" "--prefix" "./debian/npm2debian/usr" "."
npm ERR! cwd /home/arikon/packages/npm/npm2debian/npm2debian-0.2.2
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.103
npm ERR!
npm ERR!  You might try updating to HEAD and / or updating tar.

1.19 is not the latest gnutar.  That's a few years old.
Do you have any GZIP environment variable set?  I just learned that it "helpfully" uses these internally, sometimes screwing up tar's ability to decompress stuff.

It's latest on Ubuntu Hardy that is still used =(
echo $GZIP prints nothing

Ok.  Either install 1.26 from source, or wait until npm is using js tar.

Arrgh. My fault.
Must be using tarball and not zipball.

Yep.  There you go :)


Update SSG Documentation

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Little update to the docs to use the new ssg adapter.
Fixes #1970

Thanks @JeanMeche !
Added a comment

Thank you very much!


Update to docker version 1.14.0

@enderb-ms can you look at this?  The change looks good but question is should we use the oneget provider?  or a 'latest' link?

Shouldn't we stick with v1.13 which is in code freeze?
We have another page with manual steps which I think is more appropriate for unreleased versions:
https://github.com/Microsoft/Virtualization-Documentation/blob/live/virtualization/windowscontainers/docker/configure_docker_daemon.md
"If you would like to use an in-development version of the Docker Engine and client instead, you can use the steps that follow. This will install both the Docker Engine and client. Otherwise, skip to the next section."

The problem is version  1.13 no longer exists on that link and the command fails. Sorry should've made that clear in the PR.  I agree a latest link would be better...

Here's where v1.13 went:
https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc1.zip

I agree with @PatrickLang, https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc1.zip would be a good way to go

Ok updated to 1.13.0-rc1, however would it be preferable to close this and re-submit so that there is only the one commit?

(also note that these are temporary measures - once 1.13 GAs, you can lock into that)

The windows 10 walkthrough was failing so I accepted a PR to bump the version to 1.14 (reported by multiple people).
If there is a better way to resolve this, please feel free.
ping @friism @taylorb-microsoft @PatrickLang @enderb-ms


Sending response before request is fully read

I'm having a problem sending prompt responses to large requests.
As of v0.8.2, Request::respond() will wait until "Content-Length" bytes have been received from the client before sending the response.  I would prefer to send the response immediately.  For example, if the request claims a content length of 100GB, I would like to send "413 Payload too Large" without waiting for the whole request body to arrive.
Note that responses are sent promptly to requests with "Transfer-Encoding: chunked" or "Expect: 100 continue".  This doesn't help me because I am handling XHR, and web browsers do not allow control of either of these headers on XHR for security reasons.  In any case, I think it would be better if tiny_http could send prompt responses regardless of how the request is structured.
The current behavior was introduced in commit 091ce8030fdc3a690d0646f72cbd627476c907a3.  The motivation for that commit seems reasonable, but I believe that the server author should decide whether a request should be fully read before sending the response.
I have written some test code that reflects what I think would be the "correct" behavior of the library.  It can be dropped in the "tests/" directory and run via cargo test.

Closed by merging #207


request to upload plugin to maven central

Hi, Alexander.
Any chance you could deploy the built artifact to maven central or sonatype? It appears that doing so would simplify the following instructions, since as is the case with your suggest plugin, it appears to be possible to download plugins from a maven repository as well as from github...
git clone https://github.com/spinscale/elasticsearch-graphite-plugin
cd elasticsearch-graphite-plugin
mvn package

Cheers

Was this ever moved to Maven Central?  I'm a noob and the instructions provided are confusing to me.  If anyone has any information that would help please let me know.
Thanks


not reaping zombie or defunct child processes

In container, I exec a python process as a child process of tini. as following steps:

run the container from dockerfile

os info：
[root@node3 ~]# uname -a
Linux node3 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@node3 ~]#
[root@node3 ~]#
[root@node3 ~]#
[root@node3 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

docker version:
[root@node3 ~]# docker version
Client:
 Version:           18.09.6
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        481bc77156
 Built:             Sat May  4 02:34:58 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:19:08 2018
  OS/Arch:          linux/amd64
  Experimental:     false

docker file
ADD tini /tini
RUN chmod +x /tini
ENV PYTHONPATH=/root/tf/models
WORKDIR /examples

ENTRYPOINT ["/tini", "-g", "-w", "-vvv", "--", "bash"]
CMD ["-c","/usr/bin/python ~/tf/benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py  --batch_size=64 --model=official_resnet18 --optimizer=momentum  --num_gpus=2 --num_epochs=1 --weight_decay=1e-4 --data_dir=/tmp/imagenet"]

process status:
tini: pid 1
python: pid 8
root@deee30ff32b4:/examples# ps axjf
  PPID    PID   PGID    SID TTY       TPGID STAT   UID   TIME COMMAND
     0    397    397    397 pts/1       410 Ss       0   0:00 bash
   397    410    410    397 pts/1       410 R+       0   0:00  \_ ps axjf
     0      1      1      1 pts/0         8 Ss       0   0:00 /tini -g -w -vvv -- bash -c /usr/bin/python ~/tf/benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py  --batch_size=64 --model=official_resnet
     1      8      8      1 pts/0         8 Sl+      0   2:31 /usr/bin/python /root/tf/benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py --batch_size=64 --model=official_resnet18 --optimizer=momentum -

kill the python process

kill python process (the child of tini, and its pid is 8 )
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples# kill -9 8
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples#
root@deee30ff32b4:/examples# ps axjf
  PPID    PID   PGID    SID TTY       TPGID STAT   UID   TIME COMMAND
     0    397    397    397 pts/1       411 Ss       0   0:00 bash
   397    411    411    397 pts/1       411 R+       0   0:00  \_ ps axjf
     0      1      1      1 pts/0         8 Ss       0   0:00 /tini -g -w -vvv -- bash -c /usr/bin/python ~/tf/benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py  --batch_size=64 --model=official_resnet
     1      8      8      1 pts/0         8 Zl+      0   4:30 [tf_cnn_benchmar] <defunct>

zombie process exists: the python process is defunct, but not reap by parent process (tini), it become zombie.

the tini and python processes print info:
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
W0810 01:44:12.306231<PHONE_NUMBER>76544 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
[TRACE tini (1)] No child to reap
Initializing graph
WARNING:tensorflow:From /root/tf/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py:2238: Supervisor.__init__ (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
W0810 01:44:13.657472<PHONE_NUMBER>76544 deprecation.py:323] From /root/tf/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py:2238: Supervisor.__init__ (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.

I'm not sure about either of the following reasons:

the tini did not receive the SIGCHLD signal from the defunct child process. Is the tini process missed to deal with the SIGCHLD ?
as a child process of tini. did the python process not  send the SIGCHLD  to tini? maybe  it is suspended for hardware or program problem

os info：
[root@node3 ~]# uname -a
Linux node3 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@node3 ~]#
[root@node3 ~]#
[root@node3 ~]#
[root@node3 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

docker version:
[root@node3 ~]# docker version
Client:
 Version:           18.09.6
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        481bc77156
 Built:             Sat May  4 02:34:58 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:19:08 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Having to use kill -9 is a red flag to me. See also https://serverfault.com/a/76296/58240

Do you mind sharing all the lines of output from Tini (from the point at which you start your process until the point at which you're stuck) — you can exclude the other output, but please include all the tini ones.

Do you mind sharing all the lines of output from Tini (from the point at which you start your process until the point at which you're stuck) — you can exclude the other output, but please include all the tini ones. There should at least be some additional input starting with an info line reporting what Tini spawned.
Note that the point at which you're stuck is basically a look where Tini asks the Kernel "do I have any children that have exited?", and the Kernel is answering "you do not".
What happens if you send SIGTERM to Tini? If nothing happens, what if you send it SIGKILL? Do the processes get torn down?

@krallin
I am sorry that I did not save complete log information. the python program runs TensorFlow framework with NVIDIA GPU cards, for training a deep learning job.
I saved the problem context log information and /proc/pid/taskid status , so I exepect them are maybe useful.

python program started and blocked.
python and tini print info:

.............................................

Initializing graph
WARNING:tensorflow:From /root/tf/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py:2238: Supervisor.__init__ (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
W0810 01:44:13.657472<PHONE_NUMBER>76544 deprecation.py:323] From /root/tf/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py:2238: Supervisor.__init__ (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2020-08-10 01:44:13.911021: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0, 1
2020-08-10 01:44:13.911240: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-10 01:44:13.911262: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0 1
2020-08-10 01:44:13.911272: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N Y
2020-08-10 01:44:13.911358: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 1:   Y N
2020-08-10 01:44:13.911696: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 30555 MB memory) -> physical GPU (device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:3d:00.0, compute capability: 7.0)
2020-08-10 01:44:13.912073: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 30555 MB memory) -> physical GPU (device: 1, name: Tesla V100-SXM2-32GB, pci bus id: 0000:88:00.0, compute capability: 7.0)
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
INFO:tensorflow:Running local_init_op.
I0810 01:44:17.589881<PHONE_NUMBER>76544 session_manager.py:491] Running local_init_op.
INFO:tensorflow:Done running local_init_op.
I0810 01:44:17.782803<PHONE_NUMBER>76544 session_manager.py:493] Done running local_init_op.
Running warm up
[TRACE tini (1)] No child to reap
2020-08-10 01:44:18.530569: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
[TRACE tini (1)] No child to reap
.............................................

exec docker stop command, to stop python program.
[root@node3 ~]#
[root@node3 ~]# docker stop e99a157e24f8

the tini print info: tini received the SIGTERM signal, and passed it to child. Tini printed " No child to reap" at all the time.

.............................................

 Has anyone found a solution to this issue?


Mouse Wheel Event doesn't work as expected

Using keyboard & mouse to emulate DualShock 4 Controller to play Demon's Souls on RPCS3. Interception to ViGEm. Skip to the third paragraph for the issue.
I used the old UCR before, but I've had issues with keys getting stuck like in issue #173, which usually happened when I was close to a ledge, getting me killed because of it. I eventually switched to RPCS3's keyboard handler (assisted with UCR keys that wouldn't get me killed), One thing I couldn't do with this kind of setup is walking, so I checked if there are any new UCR versions, finding this one.
One of the plugins I use is Event to Button, to let me use my scroll wheel to send D-Pad outputs. I thought to set up Wheel Up for D-Pad Up and Wheel Down for D-Pad Down; except, in practice, scrolling the wheel either way makes it send an output for D-Pad Up. Removing the first plugin to just leave Wheel Down for D-Pad Down—scrolling up or down does absolutely nothing. Am I doing something wrong?

I would like to add that yesterday, I somehow did manage to send an output to D-Pad Down, but it was buggy and sent an output to D-Pad Up at the same time


"Downgrades HTTPS" is null for abcnews.go.com

When you access https://abcnews.go.com in a browser, it downgrades the connection to HTTP; however, it does not use an HTTP redirect:
$ curl -I https://abcnews.go.com
HTTP/1.1 200 OK
[..snip..]

Instead, it uses Javascript to redirect:
<script>
        if (window.location.protocol == "https:" && window.parent.location.hostname.indexOf("outbrain") == -1) {
                var _sslurl = window.location.href.replace("https://", "http://");
                window.location.replace(_sslurl);
                window.location.href = _sslurl;
        }
</script>

pshtt's results are confusing. pshtt --json abcnews.go.com returns "Valid HTTPS": true but also returns "Downgrades HTTPS": null. I would expect that if "Valid HTTPS" true, then "Downgrades HTTPS" should be one of true or false, but not null. null only makes sense if the site doesn't have valid HTTPS, because then the question of whether or not it downgrades it is moot.
What do y'all think? Is this a bug?
Note that I am not saying that pshtt should (necessarily) detect downgrades done with Javascript. While it would be possible (and possibly cool) to implement that, you would need to implement browser automation to do it right, which is a significant expansion of the crawler's current design. However, I do think there seems to be a bug in this case, where the result should be true or false (not null).

This is also the case for theintercept.com, where the value for "Downgrades HTTPS" should definitely be false.
[
  {
    "Base Domain": "theintercept.com",
    "Canonical URL": "https://theintercept.com",
    "Defaults to HTTPS": true,
    "Domain": "theintercept.com",
    "Domain Enforces HTTPS": true,
    "Domain Supports HTTPS": true,
    "Domain Uses Strong HSTS": false,
    "Downgrades HTTPS": null,
    "HSTS": true,
    "HSTS Entire Domain": true,
    "HSTS Header": "max-age=15768000; includeSubDomains; preload",
    "HSTS Max Age": 15768000,
    "HSTS Preload Pending": false,
    "HSTS Preload Ready": true,
    "HSTS Preloaded": true,
    "HTTPS Bad Chain": null,
    "HTTPS Bad Hostname": null,
    "HTTPS Expired Cert": null,
    "Live": true,
    "Redirect": false,
    "Redirect To": null,
    "Strictly Forces HTTPS": true,
    "Valid HTTPS": true,
[..snip..]

The issue appears to be in is_downgrades_https, specifically:
    return (
        supports_https and
        canonical_https.redirect_immediately_to_http and
        (not canonical_https.redirect_immediately_to_external)
    )

In the case of theintercept.com,  canonical_https.redirect_immediately_to_http is None, so this statement is equivalent to return True and None and something_else, but thanks to Python's short-circuit evaluation it just returns None, which is the source of the null in the JSON output.

This is a great catch, thank you. I think we didn't notice this on our end because we're using the CSV output, which papers over this issue.
I believe that the tool should always end up on true and false answers for every field, and never null, so that downstream tools never need to disambiguate a null response from a false response.


Try to setup Release Mechanism for Browser Extension

Try to Setup Release mechanism for Browser Extension when we update the source .
Use github actions to automatically push the new extension to Chrome Webstore and Mozilla Firefox Add on Store .

Experimenting here : https://github.com/fahad-israr/browser-extension-for-starfix/
View config : https://github.com/fahad-israr/browser-extension-for-starfix/blob/master/.github/workflows/main.yml

Ref: https://github.com/marketplace/actions/web-ext-action-for-firefox-add-ons

This works. The extension got successfully updated on Mozilla web store .

great - please open PR with it.


Bot Analysis Plugin

Can you use the data here to form a plugin?
https://youtu.be/3LH1TYoqDDI
https://github.com/chriskok/BotClassification-OSRS/blob/master/data/player_data_04-2020.csv
https://github.com/chriskok/BotClassification-OSRS/blob/master/EDA.ipynb
https://mybinder.org/v2/gh/chriskok/BotClassification-OSRS/2920f262e2a54ef0d2aa30c973b85c8a68cd8e04

What would such a plugin do?

What would such a plugin do?

Ask Adam or Hydrox.
Their brilliant minds will come up with something.

I'm closing this for now as it's not an actionable suggestion.

I'm closing this for now as it's not an actionable suggestion.

It's not actionable because you haven't asked Hydrox or Adam.


Fixed node being taken repeatedly causing queue block

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #1252
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Fixed node being taken repeatedly causing queue block

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

/cherrypick release-0.6


error intializing Vigem

OS Build:18362.535
windows 10 pro:1903

i believe a familar diague box popped up once again, and little bit of both the frequency and the absentmindedless that I installed more then one thing installing GloSC made me just habitually close that box. I probably considered installing the update but didn't want to be distraced at the time and when the box popped yet again soon after and I managed to make a mental note that this was a different update I must have just decided to blot everything with the same icon and look into much later on whether or not this program was worth the hassle.


Vtherm didn't stop heating

Version of the custom_component : 6.8.0 beta 12
Configuration
My VTherm attributes are the following:
hvac_modes:
  - "off"
  - auto
  - heat
min_temp: 7
max_temp: 35
target_temp_step: 0.1
preset_modes:
  - none
  - frost
  - eco
  - comfort
  - boost
current_temperature: 21.2
temperature: 17.5
hvac_action: "off"
preset_mode: eco
is_on: true
hvac_mode: heat
type: null
is_controlled_by_central_mode: false
last_central_mode: null
frost_temp: 7
eco_temp: 17.5
boost_temp: 22
comfort_temp: 20
frost_away_temp: 0
eco_away_temp: 0
boost_away_temp: 0
comfort_away_temp: 0
power_temp: null
target_temperature_step: 0.1
ext_current_temperature: 9.5
ac_mode: false
current_power: null
current_power_max: null
saved_preset_mode: eco
saved_target_temp: 20
saved_hvac_mode: null
motion_sensor_entity_id: null
motion_state: null
power_sensor_entity_id: null
max_power_sensor_entity_id: null
overpowering_state: null
presence_sensor_entity_id: null
presence_state: null
window_state: "off"
window_auto_state: "off"
window_bypass_state: false
window_sensor_entity_id: binary_sensor.aqara_open_naomi_contact
window_delay_sec: 30
window_auto_enabled: false
window_auto_open_threshold: null
window_auto_close_threshold: null
window_auto_max_duration: null
window_action: window_turn_off
security_delay_min: 60
security_min_on_percent: 0.5
security_default_on_percent: 0.1
last_temperature_datetime: "2024-12-06T08:53:27.495671+01:00"
last_ext_temperature_datetime: "2024-12-06T09:08:09.338238+01:00"
security_state: false
minimal_activation_delay_sec: 10
device_power: 1
mean_cycle_power: null
total_energy: 0.23
last_update_datetime: "2024-12-06T09:16:44.438266+01:00"
timezone: Europe/Paris
temperature_unit: °C
is_device_active: false
nb_device_actives: 0
ema_temp: 21.38
is_used_by_central_boiler: true
temperature_slope: -1.75
hvac_off_reason: manual
max_on_percent: null
have_valve_regulation: true
is_over_climate: true
start_hvac_action_date: null
underlying_entities:
  - climate.trv_sonoff_naomi
is_regulated: true
regulated_target_temperature: null
auto_regulation_mode: auto_regulation_valve
regulation_accumulated_error: 0
auto_fan_mode: auto_fan_high
current_auto_fan_mode: auto_fan_high
auto_activated_fan_mode: null
auto_deactivated_fan_mode: null
auto_regulation_use_device_temp: false
auto_start_stop_enable: false
auto_start_stop_level: auto_start_stop_none
auto_start_stop_dtmin: null
auto_start_stop_accumulated_error: 0
auto_start_stop_accumulated_error_threshold: null
follow_underlying_temp_change: false
underlyings_valve_regulation:
  - - number.trv_sonoff_naomi_valve_opening_degree
    - number.trv_sonoff_naomi_valve_closing_degree
    - number.trv_sonoff_naomi_local_temperature_calibration
on_percent: 0
power_percent: 0
on_time_sec: 0
off_time_sec: 300
cycle_min: 5
function: tpi
tpi_coef_int: 0.9
tpi_coef_ext: 0.01
valve_open_percent: 0
auto_regulation_dpercent: 0.5
auto_regulation_period_min: 5
last_calculation_timestamp: "2024-12-06T06:36:59.069207+01:00"
friendly_name: VTherm Naomi
supported_features: 401

Describe the bug
As seen bellow the the Vtherm didn't stop heating at 10:30pm while it should have gone to "eco" mode... my daughter complained this morning having a room really warm.

a "zoom" at 22:30 showing that it stop and then restarted a few seconds after :

Debug log
I provide all logs in CC in case it can help.
VTherm-2024-12-06.log
Here is what occur at 22:30

2024-12-05 22:30:00.001 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Naomi - Set preset_mode: eco force=False
2024-12-05 22:30:00.001 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Naomi - find preset temp: eco
2024-12-05 22:30:00.001 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Naomi - Sending event EventType.PRESET_EVENT with data: {'preset': 'eco'}
2024-12-05 22:30:00.002 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VTherm Naomi-number.trv_sonoff_naomi_valve_opening_degree - Setting valve ouverture percent to 0
2024-12-05 22:30:21.317 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.317 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.317 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.319 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VTherm Naomi - do not calculate TPI because regulation_period (0) is not exceeded
2024-12-05 22:30:21.328 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] VersatileThermostat-Nb device active for boiler - calculating the number of active underlying device for boiler activation. change change from <state number.trv_sonoff_naomi_valve_opening_degree=unavailable; min=0.0, max=100.0, step=1.0, mode=auto, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:29:52.605753+01:00> to <state number.trv_sonoff_naomi_valve_opening_degree=16; min=0.0, max=100.0, step=1.0, mode=auto, battery=100, child_lock=UNLOCK, closing_steps=346, frost_protection_temperature=7, idle_steps=187, last_seen=1733432563123, linkquality=105, local_temperature=19.7, local_temperature_calibration=-1.9, occupied_heating_setpoint=20, open_window=OFF, running_state=idle, system_mode=heat, update=installed_version=4609, latest_version=4609, state=idle, update_available=None, valve_closing_degree=84, valve_closing_limit_voltage=2780, valve_motor_running_voltage=1342, valve_opening_degree=16, valve_opening_limit_voltage=2608, weekly_schedule=friday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, monday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, saturday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, sunday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, thursday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, tuesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, wednesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:30:21.293050+01:00>
2024-12-05 22:30:21.328 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.328 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] VersatileThermostat-Nb device active for boiler - calculating the number of active underlying device for boiler activation. change change from <state number.trv_sonoff_naomi_valve_opening_degree=unavailable; min=0.0, max=100.0, step=1.0, mode=auto, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:29:52.605753+01:00> to <state number.trv_sonoff_naomi_valve_opening_degree=16; min=0.0, max=100.0, step=1.0, mode=auto, battery=100, child_lock=UNLOCK, closing_steps=346, frost_protection_temperature=7, idle_steps=187, last_seen=1733432563123, linkquality=105, local_temperature=19.7, local_temperature_calibration=-1.9, occupied_heating_setpoint=20, open_window=OFF, running_state=idle, system_mode=heat, update=installed_version=4609, latest_version=4609, state=idle, update_available=None, valve_closing_degree=84, valve_closing_limit_voltage=2780, valve_motor_running_voltage=1342, valve_opening_degree=16, valve_opening_limit_voltage=2608, weekly_schedule=friday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, monday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, saturday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, sunday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, thursday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, tuesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, wednesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:30:21.293050+01:00>
2024-12-05 22:30:21.328 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.329 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] VersatileThermostat-Nb device active for boiler - calculating the number of active underlying device for boiler activation. change change from <state number.trv_sonoff_naomi_valve_opening_degree=unavailable; min=0.0, max=100.0, step=1.0, mode=auto, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:29:52.605753+01:00> to <state number.trv_sonoff_naomi_valve_opening_degree=16; min=0.0, max=100.0, step=1.0, mode=auto, battery=100, child_lock=UNLOCK, closing_steps=346, frost_protection_temperature=7, idle_steps=187, last_seen=1733432563123, linkquality=105, local_temperature=19.7, local_temperature_calibration=-1.9, occupied_heating_setpoint=20, open_window=OFF, running_state=idle, system_mode=heat, update=installed_version=4609, latest_version=4609, state=idle, update_available=None, valve_closing_degree=84, valve_closing_limit_voltage=2780, valve_motor_running_voltage=1342, valve_opening_degree=16, valve_opening_limit_voltage=2608, weekly_schedule=friday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, monday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, saturday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, sunday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, thursday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, tuesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, wednesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:30:21.293050+01:00>
2024-12-05 22:30:21.329 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.332 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.333 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.333 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.335 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.335 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.335 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.341 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.341 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.341 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.350 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Naomi - Underlying climate climate.trv_sonoff_naomi have changed. new_hvac_mode is heat (vs heat), new_hvac_action=idle (vs None), new_target_temp=20.0 (vs 17.5), new_fan_mode=None (vs None)
2024-12-05 22:30:21.353 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Naomi - Window changed. Event.new_state is <state binary_sensor.aqara_open_naomi_contact=off; battery=100, contact=True, device_temperature=18, last_seen=1733416742781, linkquality=69, power_outage_count=833, trigger_count=0, voltage=3045, device_class=window, friendly_name=Naomi @ 2024-12-05T22:30:21.314572+01:00>, _hvac_mode=heat, _saved_hvac_mode=None
2024-12-05 22:30:21.354 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VTherm Naomi - do not calculate TPI because regulation_period (0) is not exceeded
2024-12-05 22:30:21.368 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.369 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:30:21.369 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] After examining the hvac_action of VTherm Naomi, nb_active is 0
2024-12-05 22:32:09.753 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] VersatileThermostat-Nb device active for boiler - calculating the number of active underlying device for boiler activation. change change from <state number.trv_sonoff_naomi_valve_opening_degree=16; min=0.0, max=100.0, step=1.0, mode=auto, battery=100, child_lock=UNLOCK, closing_steps=346, frost_protection_temperature=7, idle_steps=187, last_seen=1733434306160, linkquality=112, local_temperature=19.7, local_temperature_calibration=-1.9, occupied_heating_setpoint=20, open_window=OFF, running_state=idle, system_mode=heat, update=installed_version=4609, latest_version=4609, state=idle, update_available=None, valve_closing_degree=84, valve_closing_limit_voltage=2780, valve_motor_running_voltage=1342, valve_opening_degree=16, valve_opening_limit_voltage=2608, weekly_schedule=friday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, monday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, saturday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, sunday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, thursday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, tuesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, wednesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:30:21.293050+01:00> to <state number.trv_sonoff_naomi_valve_opening_degree=unavailable; min=0.0, max=100.0, step=1.0, mode=auto, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:32:09.718118+01:00>
2024-12-05 22:32:09.753 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] VersatileThermostat-Nb device active for boiler - calculating the number of active underlying device for boiler activation. change change from <state number.trv_sonoff_naomi_valve_opening_degree=16; min=0.0, max=100.0, step=1.0, mode=auto, battery=100, child_lock=UNLOCK, closing_steps=346, frost_protection_temperature=7, idle_steps=187, last_seen=1733434306160, linkquality=112, local_temperature=19.7, local_temperature_calibration=-1.9, occupied_heating_setpoint=20, open_window=OFF, running_state=idle, system_mode=heat, update=installed_version=4609, latest_version=4609, state=idle, update_available=None, valve_closing_degree=84, valve_closing_limit_voltage=2780, valve_motor_running_voltage=1342, valve_opening_degree=16, valve_opening_limit_voltage=2608, weekly_schedule=friday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, monday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, saturday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, sunday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, thursday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, tuesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, wednesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:30:21.293050+01:00> to <state number.trv_sonoff_naomi_valve_opening_degree=unavailable; min=0.0, max=100.0, step=1.0, mode=auto, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:32:09.718118+01:00>
2024-12-05 22:32:09.753 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] VersatileThermostat-Nb device active for boiler - calculating the number of active underlying device for boiler activation. change change from <state number.trv_sonoff_naomi_valve_opening_degree=16; min=0.0, max=100.0, step=1.0, mode=auto, battery=100, child_lock=UNLOCK, closing_steps=346, frost_protection_temperature=7, idle_steps=187, last_seen=1733434306160, linkquality=112, local_temperature=19.7, local_temperature_calibration=-1.9, occupied_heating_setpoint=20, open_window=OFF, running_state=idle, system_mode=heat, update=installed_version=4609, latest_version=4609, state=idle, update_available=None, valve_closing_degree=84, valve_closing_limit_voltage=2780, valve_motor_running_voltage=1342, valve_opening_degree=16, valve_opening_limit_voltage=2608, weekly_schedule=friday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, monday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, saturday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, sunday=00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16, thursday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, tuesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, wednesday=00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:30:21.293050+01:00> to <state number.trv_sonoff_naomi_valve_opening_degree=unavailable; min=0.0, max=100.0, step=1.0, mode=auto, unit_of_measurement=%, friendly_name=trv_sonoff_naomi Valve opening degree @ 2024-12-05T22:32:09.718118+01:00>

Same thing happened to me today
Power percent shows 0% but continue to heat ....

Hello,
thank you for your report. Valve regulation is still in beta but I will have a look closer.
I need some regulation curve with the power_percent (which is the valve openess in Sonoff TRV). With only temperature I cannot find out what happens.
You can inspire yourself on what is explained here: https://github.com/jmcollin78/versatile_thermostat/blob/main/README.md#even-better-with-plotly-to-tune-your-thermostat
@jiquem on your attributes I see that power_percent: 0, so it seems the calculation is good. Can you check (don't know how) if the valve was really closed ? Maybe looking directly at the climate.trv_sonoff_naomi attributes or directly in Zigbee2mqtt if you have it.

Hello
@jmcollin78 would that be enough ?

This big bar at 10% without any change, seems to show that your VTherm is in safety mode. See https://github.com/jmcollin78/versatile_thermostat/blob/main/README.md#why-does-my-versatile-thermostat-go-into-safety

Unfortunately it was not in security state

ok. You have to find what happens in your installation during this time:

I forgot one important thing, your VTherm is an over_climate so there is no safety mode but maybe the thermometer was not sending temperature. You can chek if there some points in the graph of the room temperature.

Thanks @jmcollin78
The temperature aqara_temp_naomiin red was send as you can see :

I have no more explainations.
As we can see in the logs, VTherm tries to send 0 as opening degree:
VTherm Naomi-number.trv_sonoff_naomi_valve_opening_degree - Setting valve ouverture percent to 0
but it seems your TRV stays at 18°.

Thanks for taking the time to have a look !

Don't hesitate to reopen if you think the issue is on VTherm.


jest.Global incorrectly extends interface 'NodeJS.Global'?

Hello dear Jest fellows,
i've been doing some maintenance stuff in stryker-mutator and came into this error:
packages/jest-runner/node_modules/@jest/types/build/Global.d.ts:54:18 - error TS2430: Interface 'import("/home/travis/build/stryker-mutator/stryker/packages/jest-runner/node_modules/@jest/types/build/Global").Global' incorrectly extends interface 'NodeJS.Global'.
  Types of property 'describe' are incompatible.
    Type 'Describe' is not assignable to type 'SuiteFunction'.
      Types of property 'only' are incompatible.
        Type 'DescribeBase' is not assignable to type 'ExclusiveSuiteFunction'.
          Type 'void' is not assignable to type 'Suite'.
54 export interface Global extends NodeJS.Global {

We don't get any other error related to that so I am not sure why is it occurring (all i have done is to change dependencies from jest: ^24.9.0 to ~24.9)
Do you have any idea why it happened?
link to a PR:  https://github.com/stryker-mutator/stryker/pull/1706
link to a one of travis jobs: https://travis-ci.org/stryker-mutator/stryker/jobs/582083380

@jeysal would you mind taking a look?

We don't get that error when building (using the latest TS 3.6), but maybe it's an issue with older versions of TS?

all i have done is to change dependencies from jest: ^24.9.0 to ~24.9

24.9.0 is the latest 24 release, so just changing that part wouldn't make a difference. Something else changed. I'd take a look at any lockfiles you might have.

Looks like a conflict with another framework defining the describe global

@kmdrGroch U happen to find any resolution, as even in one of my project, getting same error

I think it was related that both jest and mocha (and more test runners/frameworks) were installed in the same project. I guess there was some problems with namespaces and so typescript assumed that these functions were defined in several places. So I can say it is solved.

@aqumus try npm prune or remove / reinstall test frameworks / runners if you have more than 1

I had a similar issue because there was another node_modules folder on top of my project's folder. The errors disappeared, when I removed those node_modules.

I think it can be closed with these solutions :)

We ran into this recently. Ultimately it was because:

We were using mocha as a test runner.
We added expect, which depends on @jest.
@jest defines describe, here: https://github.com/facebook/jest/blob/master/packages/jest-types/src/Global.ts#L76
@types/mocha defines describe as well, here: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/mocha/index.d.ts#L598
The two describes aren't compatible, so TypeScript ends up being unhappy.

Our solution was to replace expect with chai, as it doesn't depend upon @jest.  We could've also likely replaced mocha with jest, but that felt like a larger effort.

This was fixed in Jest@25 (and expect@25) btw - it should play nice with mocha's global definitions. #9415

@SimenB Great! I confirmed that expect@25 resolved the issue.


is there an event for opened?

what is the event for opened?

@niran-manandhar
Yes, MdePopoverTrigger has an event opened, you can find the docs here.


[Bug]: querying is very slow when using filters option.

Bug Description
using this query engine, when i uncomment filters, query takes 2 seconds, but with filters option, it takes 7 seconds.
i use chroma as vector store and gpt3.5

k8s_filter = MetadataFilters(
    filters=[
        MetadataFilter(
            key='kubernetes_version',
            value='N/A',
            operator='!='
        )
    ]
)

index.as_query_engine(
        llm=llm,
        # filters=k8s_filter,
        response_mode='compact',
        vector_store_query_mode="mmr",
        similarity_top_k=2,
        max_top_k=4,
        node_postprocessor=[
            MetadataReplacementPostProcessor('window')
        ]
    )

Version
llama-index-core==0.10.18.post1
Steps to Reproduce
just add filters
Relevant Logs/Tracbacks
No response

LlamaIndex is just querying the chroma vector store with your filters. How long that takes is down to chroma.
If its slow, I suggest trying another vector db


 Watch Support

Genuinely think this is the sort of app that I would love to have on an Apple Watch with the ability to quickly see notifications

I love it. LONG way off, but would be super cool for a basic activity overview.

Reviving, anything cool we could do here? Tbh I don't use any watch apps, just the complications. Maybe we could do something there?

Gonna join the gang next month when I get my series 3 😃
I think the main thing I'd like to see at a glance is how many unread notifications I have.
Obviously we could go insane and make it so you can actually see messages and use canned responses (different card) to reply - Much like how I see iMessages dealing with it

Just like @rnystrom, I am not using any 3rd party apps on the Watch. I think a complication would make sense as a first step.
Also curious how the Series 3 will perform; that might make it more interesting to look into building an app too. Think it should focus on something (eg. replying with saved replies) without trying to recreate a lot of the main app’s features.

Btw, I'm basically open to anything here. If someone wants to hack at it I'll probably accept anything. I don't think I'll spend any time on this, but could be a neat side-kick. The today and home screen widgets are probably a lot more impactful.

So this might actually help w/ App Store ranking.

Fun Fact: My Apple Watch went to dispatched today 😄 24th Oct and I'll be all over watch development!
The more Apple things you support the more they feature you, had first hand experience of that

tvOS?!

I don't watch TV often, but when I do, it's to check my GitHub notifications 😂

So what were people actually thinking of having for Apple Watch support?
A complication that just says how many unread notifications you have?

I would probably not use more than a complication to be honest.

As a starting point it'll give us enough structure to at least get notification information to the watch, as well as background polling to get information
It's definitely a start!

😁 I love it when things arrive early 😁😁

No pic no prove 😉 Enjoy the watch!
Sent with GitHawk

🤷♂

Oh shiiiiiitt! Those rings are pretty dope. Honestly that alone is worth shipping. Are there any rules around shipping only a complication? Does there have to be an app too?
Sent with GitHawk

So yeah I was just messing with how we can display the information. There's about 7 different display modes ("families") we can support (this is just the small modular one).
You have to have an app if you ship a complication (it opens automatically when you tap on the item). We could just have a screen which is like "Open App" or something (and deeplinks to the notifications page).
That right there is using fixed data, need to follow RayWenderlich's tutorial on watch connectivity to get notification info across.
I was hoping we could customise exactly how complications look, but from what I can tell you have to use one of about 8 different templates (image, text, combination of the two in different formats). The above is a bit of a trick, using CoreGraphics to take the outer bit of the app icon and then draw the text overlay (notification count). Text size is dynamic, and centered. (Get's smaller with bigger numbers!)
Unfortunately though we can't have different colours for the ring vs text (would've been amazing if we could!)
Using a different template we could just put the logo above the number? (That way we could have two colours). Or do we like this design? Really just playing around to see what's possible! Obviously when it's in the app we have a lot more creative control! -- I'd quite like this complication though, but again (as I've complained about before) counting how many people mention me rather than any notification! 😅  - Could be an option though!

For sharing code, we probably want to look into migrating the networking + model stuff into a shareable framework to do this "right".
Also move authentication/tokens into app group containers 😬

Would also need the minimal persistency stuff in there for notifications as well so the number is actually correct. I'd say this is pretty dependent on #620 as well

Claiming this to experiment w/ App Store ranking in the next release. Here's the app that I have in mind:

Open to list of notifications grouped by repo

Show repo name, number of notifications for repo, and button to mark them read (check mark)
Should show notification type (issue, PR, etc)
stretch: Get notification status. Requires breaking out V3+gql hack into shared lib.

Tapping cell shows list of all that repo's notifications w/ button to mark read

Long press on notification to show option to unsubscribe

Handle not-logged in state w/ a view saying you need to sign into GitHub via GitHawk app

Have a local branch w/ extension + cocoapods refactor setup and building. Just a matter of slapping it together. Very curious how/if this impacts App Store ranking!

Closing this; any idea if this had any effect on ranking?

@BasThomas nothin 😭
Sent with GitHawk

😔
Sent with GitHawk


Exclude empty directories from proto artifact

From now the assemble-proto Gradle plugin does not include empty directories to the generated JAR artifact.

@armiol, PTAL.


Knns

In the dataset preparation readme file it is stated that "knns is not necessary as it can be built with the provided functions." Please can you guide me which are the relevant files/functions ? Thanks in advance!

Hi @redionxhepa , knns can be computed with functions in utils/knn.py.

Thank you ! When I asked this question I had not properly looked at the code :D Anyways thank you and  congrats for the really well documented implementation.

Hi ! I tried to run the  utils/knn.py file but I get the following error.
Traceback (most recent call last):
File "knn.py", line 10, in
from utils import load_data, dump_data, mkdir_if_no_exists, Timer
ModuleNotFoundError: No module named 'utils'

The problem lies in     " from utils import (load_data, dump_data, mkdir_if_no_exists, Tim "
It should be from misc import (load_data, dump_data, mkdir_if_no_exists, Tim. In the same manner I had to change the same problems in different files of the utils folder. How were people able to run this code ? Or is it a problem with the Python version ?

@redionxhepa Hi, thanks for trying. It seems that the utils is not found as a package. A simple solution is to specify the PYTHONPATH.
PYTHONPATH=. python utils/knns.py


Add tags option

Please add an option (CLI and dialogue, preferably) to automatically add tags to the new instances.

This is an interesting idea. Can you expand on the use case? Tags can only be added to sites in organizations, and an organization is not required in the script so the script will need to verify an org is being used first before considering tags.
CLI options, in general, aren't the easiest in Bash and I don't plan to add any but this is definitely a candidate for adding another prompt.

The script already adds the slug (project name) as a tag.
@wmodes are you asking to define a custom list of tags in addition to the slug?


Allow access service options to be specified in the UI

The existing code in the UI will need to use the hard coded access service list.  It would be good to get this list from the server in case some of the access services jar files were not there.
The call I want to make to get the registered access services does not work unless there are access services configured already in the server config. https://localhost:9443/open-metadata/admin-services/users/garygeeke/servers/cocoMDS1/access-services only returns config content; I was hoping to get a list of the available access services to display to the user prior to adding any to the config. The only way I could do this is to issue post https://localhost:9443/open-metadata/admin-services/users/garygeeke/servers/cocoMDS1/access-services   . Then get https://localhost:9443/open-metadata/admin-services/users/garygeeke/servers/cocoMDS1/access-services . If some of the omas jar files had been removed then I should get a subset of the omas's in the registered list and display this. I will then display those access services as available and enabled - on the UI.


Appstudio update test-component-pac-nsta

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-nsta-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
21 seconds
inspect-image

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
22 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary


Adds support for searching in /people page and show short info about user

closes #333

@rithviknishad for markdown component can we send some kind of props (for size ) as it is used at many places and needed to be rendered at different sizes  ?

It would be nice to show a search animation when we start the network request, currently its hard to notice when the search starts;

@bodhish, I didn't understand what you mean by showing an animation when the network search starts. Do we need to show a search animation during the delay due to debouncing?

The UI should show search happening

Yeah got it ,I will update it , thank you

Before

After

Screencast from 01-04-24 12:01:41 AM IST.webm

Ok , we can link this issue with the color of the footer during the theme change.


ignored transmission

hey there
after few hour of no transmission first transmission is ignored
I run it on a nodemcu with rxb6 receiver
any ideas
thanks

Hi, thanks for using MQTT433gateway!
I could not observe such a behaviour.
What protocol you are using? Did you get any message on the serial interface?
You can try to increase the number of repeats that are sent out. Therefore, you have to change line 114 in MQTT433gateway.ino to e.g.:
    rf.send(protocol, message, 20);

The default is 10 repeats.

Thanks for your reply!
Now I realize that my problem probably wasnt good phrased: i've problems with receiving.
Any tips?
Tobi

This behaviour I also can not observe. But it is difficult to test, because there is always a message arriving on 433 MHz, e.g., every 10 minutes from one of the weather stations in our house…
Please, can you tell, what protocol (including JSON message) you are using and if you get any message on the serial interface?

There is a problem with chineese "generic" receivers like these

in RfHandler::onRfCode status is never VALID.
So you can see the code in the (debug) log, but it never goes out to MQTT.
Commenting out this check makes it work fine, may be an option to disable this check should be added to the web settings page

Most 433MHz protocols do not have any data integrity bits. They simply send the same message multiple time (e.g. more than 5 times).  To check the integrity of a message, ESPiLight simply check if the same message arrived twice and mark it as VALID.
If your message only show up in the debug log, but is not marked as VALID it means that your receiver is not able to receive the messages correctly. In this case you are better to improve the signal-to-noise ratio, e.g. by optimizing the antenna and position of the gateway. Btw, as mentioned in the README, I can not recommend these receivers.


Fix/fixing mexc tests

Before submitting this PR, please make sure:

[X] Your code builds clean without any errors or warnings
[X] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
This PR simply fixes the REST mocking performed in the MEXC test cases. Nothing else has been changed in the tests themselves.
MEXC tests used the legacy approach to mocking REST endpoints. We currently use aioresponses. In addition, some of the tests were not mocked end-to-end and calls were made to the server.
Tests performed by the developer:
I've monitored the network traffic of a test-case run with Little Snitch and nothing was detected where there used to be multiple connection attempts previously.
Tips for QA testing:
N/A

Proposal: https://snapshot.org/#/hbot-prp.eth/proposal/0x832a889b36b0b3c2057ddd43088c6e900543b51a3958a792c2ad36da58a97536


geoip contry_code3 value is equal to contry_code2

When doing lookup in Geoip2-City I see that returned values for country_code3 are invalid and equal to country_code2 value.
As I see now GeoIP2 database doesn't have country_code2/3 values, but just one iso_code field http://dev.maxmind.com/geoip/geoip2/javascript/
Version
/opt/logstash/bin/logstash --version
logstash 2.3.4

/opt/logstash/bin/logstash-plugin list --verbose logstash-filter-geoip
logstash-filter-geoip (3.0.1)

Operating System
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.5 (jessie)
Release:    8.5
Codename:   jessie

Config File
geoip {
        source => "client_ip"
        target => "geoip"
        database => "/etc/geoip/GeoIP2-City.mmdb"
     }

Sample data  - IP <IP_ADDRESS>
"geoip" => {
             "city_name" => "Kiev",
        "continent_code" => "EU",
         "country_code2" => "UA",
         "country_code3" => "UA",
          "country_name" => "Ukraine",
              "dma_code" => nil,
                    "ip" => "<IP_ADDRESS>",
              "latitude" => 50.4333,
             "longitude" => 30.5167,
           "postal_code" => nil,
           "region_name" => "Kyiv City",
           "region_code" => "30",
              "timezone" => "Europe/Kiev",
              "location" => [
            [0] 30.5167,
            [1] 50.4333
        ]
    }

I can confirm that "GeoLite2-City.mmdb" does not return 3 chars country codes.
In a Python script, I circumvented this by using the following import:
from iso3166 import countries as iso_countries

I think that the current implementation, that appears to be copying country_code2 to country_code3, should be fixed, either by removing country_code3 (not a great fix, but better than populating a field with the wrong data) or using an approach similar to the Python import above.


Support overriding output directory for diagnostics

Signed-off-by: Alena Varkockova<EMAIL_ADDRESS>

Closed in favour of #1601


Autorank integration

Hi.
I using an auto-ranking plugin that calls Autorank. The ranks and groups are properly configured. I need to "freeze" ranking groups on second place of player's group list 'cause I have parallel group type for donators, admins, moderators. It's a primary group.
How can I freeze the primary group on first place of list even if Autorank tries to move ranking (second) group on first place instead primary group?

My suggestion: please, add to command
pex user  group add
the required parameter that handles position  where to add the specific group in player group list, such as:
pex user  group add   <up | down>
Or doing that optional, when player not entered a position parameter plugin will add specified group using parameter from config, that already exist.

You should be using weight values and ladders.


polymc: update to 1.4.0, add polymc-qt5

What package release type is this?

[x] stable
[ ] beta
[ ] dev/nightly/canary

I followed the bucket's manifest standards?

[x] I have read the Contributing Guide.
[x] properly named and capitalized shortcuts?
[x] autoupdate and checkver entry
[ ] persist defined with config/data/user/portable/textures/saves folder(s) specific for the app?
[ ] a pre_install script to auto-enable portable mode (if needed)?

[ ] a pre_install script creates runtime created files specified in persist (ensures symlinks properly get created)

[x] license identifier and url
[ ] a short terse description matching existing style.
[ ] url to the release along with its sha256 hash
[ ] bin entry for main binary

[ ] if beta, dev, etc: does bin shim have variant appended to the name? (e.g appname-dev)

[ ] passes bin/checkver.ps1 and bin/checkurls.ps1
[x] tested install, checked persist, no errors.
[ ] manifest is sorted to spec
[ ] manifest follows spec: appname or appname-variant (e.g citra-canary or dolphin-dev)
[ ] I tested the package and it runs in portable mode. I have verified the symlinks are correct in the persist folder and working.
[ ] I will maintain this manifest and promptly fix it in the event it breaks.

Should the qt5 manifest be renamed to polymc-legacy to match the official download name?

idk, polymc legacy feels like it's the legacy version of PolyMC but the legacy there is referred to the windows version

Are there other cases where there is a build for older Windows versions? IMO neither -qt5 nor -legacy are good names


:sparkles: SAST Check for TFSec

tfsec is the standard for validating terraform code security.
It was requested in the Scorecard meeting on 6/2/2022.
Also, GitHub recommends these tools for code scanning https://github.blog/2021-07-28-new-code-scanning-integrations-open-source-security-tools/
Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

I am aware of there is an existing PR for SAST https://github.com/ossf/scorecard/pull/1487 , but it has been WIP for almost 6 months. The community is looking for tools like these and it is important that we provide them with these tools.


Resolve CodeQL alerts

Resolves several CodeQL scan alerts:

Incomplete string escaping or encoding
Polynomial regular expression used on uncontrolled data
Creating biased random numbers from a cryptographically secure source

Codecov Report

Merging #3993 (c2451d8) into dev (c3cfaa4) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Flag
Coverage Δ

*Carryforward flag

msal-angular
95.85% <ø> (ø)

Carriedforward from 18a4d77

msal-browser
87.91% <ø> (ø)

Carriedforward from 18a4d77

msal-common
85.00% <100.00%> (-0.03%)
:arrow_down:
Carriedforward from 18a4d77

msal-core
76.66% <ø> (ø)

Carriedforward from 18a4d77

msal-node
81.59% <100.00%> (+0.02%)
:arrow_up:

msal-react
94.11% <ø> (ø)

Carriedforward from 18a4d77

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-common/src/utils/StringUtils.ts
100.00% <100.00%> (ø)

lib/msal-node/src/crypto/PkceGenerator.ts
100.00% <100.00%> (ø)

.../msal-common/src/client/AuthorizationCodeClient.ts
77.17% <0.00%> (-0.49%)
:arrow_down:

lib/msal-common/src/request/RequestValidator.ts
87.50% <0.00%> (ø)

Common v5?

Common v5?

Next release will be a major bump due to previously merged changes

Common v5?

Next release will be a major bump due to previously merged changes

Ah right.


BUG: interpolate: fix .roots method of PchipInterpolator

fixes gh-6357
This is trivial enough, so I'd like to backport it.

Yes, backport seems sensible

backported in gh-6557


[C++ gbc] adamsap: pre-generate missing protocols

generated files *_apply.h/cpp are missing explicit Apply<>
instantiations for CompactBinaryWriter and
SimpleBinaryWriter protocols.

@veselinp,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Db contrib/waltz 3619 measurable nav aid latch fix

#3619

This pull request introduces 1 alert when merging 394d7b8fed321f3a4504e3f034fd1ffe00d5ab1c into 980447b6d89959572af9f7af027c874a37be5a4f - view on LGTM.com
new alerts:

1 for Unused variable, import, function or class

Comment posted by LGTM.com


[AnyPrecision optimizer] consider FP32 defaults, possibly automated via BF16 support check

Enhancement (credit to @rohan-varma):
"this can be done in a follow up PR, but let's maybe consider not defaulting things to torch.bfloat16 eventually. this is because it might be good to make this optimizer usable out of the box with the defaults on all HW architectures, but only A100 supports bfloat16 well at the moment.
But the downside here would be that the default optimizer won't be too interesting, it'd just be AdamW"
Possible option to accomplish this would be a simple bf16 native support check, and then revert any BF16 defaults to FP32 (and turn off Kahan as well since it would not add benefit).
Downside dilemma is if you should warn user about this change - positive they know they are not getting BF16 benefits, negative is they may have been aware and don't enjoy one line warning * 128 gpus.

from review discussion:
"actually I think having this concept of 'smart defaults' where it attempts appropriate BF16 but rolls back to FP32 when not supported is a nice user experience. Could also apply for kahan summation being turned on and we revert it back to off, if BF1t6 is not supported and enable both momentum and variance to FP32 automatically (since Kahan adds no value for FP32). This would be nice as they would inherently get the optimal setup on various hardware.
That also gives it a bit more value even in the scenario of it becomes AdamW b/c it also reverts automatically on future hardward where BF16 is supported."


hist raises AttributeError: 'AxesSubplot' object has no attribute 'ndim' with a one row DataFrame

Hello,
this code works fine:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
bins = np.arange(80, 100 + 2, 1)
df = pd.DataFrame({"Name": ["AAA", "BBB"], "ByCol": [1, 2], "Mark": [85, 89]})
df

   ByCol  Mark Name
0      1    85  AAA
1      2    89  BBB

df["Mark"].hist(by=df["Mark"], bins=bins)
plt.show()

but same code with a one row DataFrame such as
df = pd.DataFrame({"Name": ["AAA"], "ByCol": [1], "Mark": [85]})
df

   ByCol  Mark Name
0      1    85  AAA

raises:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-35-93bcd47d24f2> in <module>()
----> 1 df["Mark"].hist(by=df["Mark"], bins=bins)

//anaconda/lib/python2.7/site-packages/pandas/tools/plotting.pyc in hist_series(self, by, ax, grid, xlabelsize, xrot, ylabelsize, yrot, figsize, bins, **kwds)
   2847                             **kwds)
   2848
-> 2849     if axes.ndim == 1 and len(axes) == 1:
   2850         return axes[0]
   2851     return axes

AttributeError: 'AxesSubplot' object has no attribute 'ndim'

Kind regards

Thanks for the report. This looks an edge case when grouped_hist doesn't return np.array of AxesSubplot. PR is appreciated.

I don't know if that's an elegant way of doing but what is you opinion about changing
if axes.ndim == 1 and len(axes) == 1:
    return axes[0]
return axes

to
try:
    if axes.ndim == 1 and len(axes) == 1:
        return axes[0]
    else:
        return axes
except:
    return axes

try - except should work, but I prefer to check isinstance(np.ndarray) as there is no need to catch all exceptions.
NOTE: Other functions uses _flatten to avoid this kind of issue, but we cannot use it here because hist may return nested np.array.
https://github.com/pydata/pandas/blob/master/pandas/tools/plotting.py#L3346

I thought that using isinstance wasn't very "Pythonic" because of duck typing.

Yeah it is correct for objects intended so, such as Series and Index.
I thought np.array and AxesSubplot are separate class, thus making separate flow is clearer for others who read the source?

closed by #10298


feat: Go Live Website

Checks before go live:

[x] Lighthouse score

[x] Responsive

[x] Tailwind build #23

[x] dark mode

[x] https://testmysite.io

https://testmysite.io/5ffcc6b81831d8144e9a5cff/owlly.ch

https://testmysite.io/5ffcc6b81831d8144e9a5cff/owlly.ch

Lighthouse score could be better..

Lighthouse score could be better..


EJB Fraction

Requested by @fbricon and probably others.

+1 request for this, we need to try EJB timer feature

lack of EJB support forces us to manually handle transactions https://github.com/wildfly-swarm/wildfly-swarm-examples/compare/master...fbricon:kitchensink?expand=1#diff-a9991de129f5e3c3b1a36dbb75ae77c9R49

@fbricon Yes, EJB is important. But as regarding transactions, you can use @ javax.transaction.Transactional.
btw, your kitchensink migration is cool!

You rock!
--
Sent from my iPhone

On Jun 25, 2015, at 8:33 AM, Ken Finnigan<EMAIL_ADDRESS>wrote:
Closed #59 via 3509011.
—
Reply to this email directly or view it on GitHub.

@kenfinnigan awesome !
EJB Timer working :
https://github.com/aeshell/nanook/commit/ace14a35afd8e3d7385cfa6799b06a575a497305


Support for protoc 3.15.0

First, thank you for this awesome tool.
We'd like to use the support for optional params added recently in protoc 3.15.0.  Do you have any plans to add embedded support for this release?

Any news on this ? Or maybe a workaround ?

@programmatix As a workaround, you can use <protocVersion>3.15.0</protocVersion>
You might configure your <home>/.m2/settings.xml  correctly if you're behind a proxy or using a company repository.

This tool is looking for support in the form of sponsorship (most users are enterprises)..

Thanks for the suggestion @KeatsPeeks.  After also upgrading everything to latest, it worked great.


Make input field border red if it is empty while creating new database connection

One minor issue I found while adding a new database connection is, If any field is kept empty, it does show "cannot be empty," which is good.
We can make the border of the empty field Red if it is empty. (Warning)

I am working on this issue.


Use MMKV storage to inhance redux persist performance

Version test: v1.0.6(180)
Devices test: IP 11
Validation passed.


Improvement needed in footer section.

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Catching footer section is not there .
I would like to @admin pls assign me this task so that I can improve it.
Describe the solution you'd like
Solution steps
Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

hello, please assign this issue to me under GSSOC'24.

please assign this issue to me under GSSOC'24.

@Braj-01 how are you gonna improve it?

@Mukesh751 The mail image is not displaying when opening the site so I m gonna fixing that.

@Braj-01 check #131 someone is already assigned that task.


Cannot configure self-managed EBSCSIDriver

To prevent kOps from installing the EBSCSIDriver, I set the managed setting of ebs_csi_driver to false as shown below:
cloud_provider {
  aws {
    ebs_csi_driver {
      enabled = true
      managed = false
    }
  }
}

The result of kops get cluster -oyaml is as follows. The false value is omitted as nil.
  cloudConfig:
    awsEBSCSIDriver:
      enabled: true

However, if managed is nil, kOps will behave the same as if managed = true, which means it will install the EBSCSIDriver.
For this reason, it is not possible to configure the self-managed EBSCSIDriver.
From what I can see from the source, it seems that the problem can be solved by setting managed to required, but I am not sure if this is the correct way to do it.
Provider Version: 1.30.1

Aaah, there probably needs to be some special handling of that one similar to a few other fields.


document skipConfigurations and scanConfigurations for gradle plugin

closes jeremylong/dependency-check-gradle/#12

Thanks for the PR!


Add profile switching params and profile listing command

Modify ‘az cloud register’ and ‘az cloud update’ to include the ‘—profile’ parameter
Add ability to view all supported API versions without querying a cloud

note: With this change, switching profile will not change anything as they are just example profiles.
FYI @lmazuel For the _shared.py file change. This would contain the resource type to api version map.
Closes https://github.com/Azure/azure-cli/issues/2280

Codecov Report

Merging #2398 into api-profile-support will increase coverage by <.01%.
The diff coverage is 77.14%.

@@                   Coverage Diff                   @@
##           api-profile-support    #2398      +/-   ##
=======================================================
+ Coverage                72.33%   72.33%   +<.01%
=======================================================
  Files                      323      325       +2
  Lines                    18273    18304      +31
  Branches                  2701     2707       +6
=======================================================
+ Hits                     13217    13240      +23
- Misses                    4223     4231       +8
  Partials                   833      833

Impacted Files
Coverage Δ

...cli-cloud/azure/cli/command_modules/cloud/_help.py
100% <100%> (ø)
:white_check_mark:

src/azure-cli-core/azure/cli/core/cloud.py
69.08% <100%> (+2.58%)
:white_check_mark:

...-cloud/azure/cli/command_modules/cloud/commands.py
100% <100%> (ø)
:white_check_mark:

...azure-cli-core/azure/cli/core/profiles/init.py
100% <100%> (ø)

...i-cloud/azure/cli/command_modules/cloud/_params.py
93.33% <100%> (+1.02%)
:white_check_mark:

src/azure-cli-core/azure/cli/core/_profile.py
83.78% <100%> (-0.15%)
:x:

.../azure-cli-core/azure/cli/core/profiles/_shared.py
100% <100%> (ø)

...li-cloud/azure/cli/command_modules/cloud/custom.py
17.24% <11.11%> (-1.13%)
:x:

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 4c0fdcf...52e3356. Read the comment docs.


Get map ids for a given program

Describe the feature you'd like supported
On Linux, bpf_obj_get_info_by_fd() can get the actual map ids associated with a given program in bpf_prof_info.
The caller can specify the maximum number to get in the nr_map_ids field, and a pointer to an array in the map_ids field, and then call bpf_obj_get_info_by_fd(), whereupon they are filled in.
struct bpf_prog_info info = {0};
__u32 len = sizeof(info);
__u32 map_ids[num_maps];

info.nr_map_ids = num_maps;
info.map_ids = ptr_to_u64(map_ids);

int err = bpf_obj_get_info_by_fd(fd, &info, &len);

This is used by bpftool
Proposed solution
Support the same API as on Linux
Additional context
No response

Duplicate of #1339


As a Library user/dev I want a Swagger spec that defines an endpoint for extracting example metadata.

The MVP version of the endpoint will only return JSON. Later versions may offer the chance to transform the data into an alternate format (like maybe CSV).

Talk list for setting up a branch and a release
@ASL-rmarshall , I'm creating this task list to help clarify the steps we need to take in GitHub.  I will be glad to do as much of this as I can.  And I'd also like to use this as an opportunity to spread GitHub knowledge around, since CDISC is going all-in with GitHub. I'm not 100% done with these but they are a great start.
These steps are to prepare to clearly communicate the model upon which the Swagger Spec is defined and to provide a place where that work can be kept.

[ ] Create a Sprint 10 Branch

[ ] Go to Code Tab and click on Branch

[ ] Move the latest deliverables through Sprint 10 into that branch
[ ] Create a Pull Request (PR) to describe the work you want accepted from Sprint 10
[ ] Use the PR to discuss that work with Bhavin (this should be nothing more than a thumbs-up since the work was already approved from Sprint 10).
[ ] Have Bhavin (or Drew, if you need assistance with GitHub) approve the PR and merge Sprint 10 into the main branch.
[ ] Create a new Release for Sprint 10 (v0.10.0)
[ ] In your Swagger Spec docs, refer to Release v0.10.0 as the basis for your Swagger Spec. Also consider including the URL for the Released ZIP file.
[ ] Create a branch for Sprint 12  or maybe two branches, one for Swagger and another for P-Value work.
[ ] Create a PR for merging each branch when it is ready.
[ ] Get Bhavin or Drew to approve the PR and merge it into main.
[ ] Get Bhavin

I've uploaded the first version of the swagger spec into the openapi folder.
@lexjansen @chowsanthony If possible, could you take a quick look and let me know if anything doesn't look right?


Pass mining config to the mining Docker container at runtime

Motivation
In order to use Zebra for mining, a user needs to set their Zcash address in Zebra's config. Zebra uses this address in coinbase transactions to pay the mining reward.
We have a Docker image that packages Zebra with support for mining. However, since Zebra lives inside this image, the user needs to be able to pass the address to the container at runtime.
Users of the image will also need to be able to choose if they want to mine on Testnet or Mainnet. They will need to pass this information to the container at runtime as well.
Solution
We need to enable the passing of network.network and mining.miner_address to Zebra's config at the runtime of the Docker container that has mining enabled.

In order to do this, we need to use the ENTRYPOINT instruction for the runtime target in the Dockerfile. We're using this instruction already for the testing target, and there can be only one ENTRYPOINT instruction per Dockerfile. I didn't find a way to solve this issue without splitting up the current Dockerfile and using ENTRYPOINT for the runtime target.

Note from the engineering sync: This seems risky to do between the last release candidate and the first stable release. We don't have automated tests that check this functionality.

We need to enable the passing of network.network
In order to do this, we need to use the ENTRYPOINT instruction for the runtime target in the Dockerfile

These parts are done in PR #6842, but the mining config still needs to be added to the new entrypoint script.

We're using this instruction already for the testing target, and there can be only one ENTRYPOINT instruction per Dockerfile. I didn't find a way to solve this issue without splitting up the current Dockerfile.

I had this wrong. There can be multiple ENTRYPOINT instructions that will have effect, despite the official docs saying:

Only the last ENTRYPOINT instruction in the Dockerfile will have an effect.

The docs apparently don't consider multistage builds, which I hadn't realized.


Gallery Shrine demo Card shadow rendering fails

The card drop shadows come and go (you can see this in the Card demo as well)

Originally reported as part of https://github.com/flutter/flutter/issues/8589


Bump up resource requests for OHW again

See https://github.com/2i2c-org/pilot-hubs/issues/549#issuecomment-891307408

Already deployed!


cherry-pick PRs submitted by robots can be verified.

Thanks for contributing!

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

any update ?


Closing polygon error ( Error: shape edges cannot cross!)

[x] I'm reporting a bug, not asking for help
[x] I've looked at the documentation to make sure the behaviour is documented and expected
[x] I'm sure this is a Leaflet Draw code issue, not an issue with my own code
[x] I've searched through the issues to make sure it's not yet reported

How to reproduce

Leaflet version I'm using: 1.0.1+ffcfcc1
Leaflet Draw version I'm using: 1.0.x
Browser (with version) I'm using:  Chrome 55.0.2883.87 m (64-bit) / Edge 25.10586.672.0
OS/Platform (with version) I'm using: windows

What behaviour I'm expecting and which behaviour I'm seeing
My code was fine and it broken suddenly, I expect to edit a polygon with simple three points, but i can't close it and there's an error indicates that error: shape edges cannot cross!.
Minimal example reproducing the issue

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Using official example

That's not an error, it's a configuration option. Check the docs for allowIntersection.


Fix setting

Previously, sbt would give you error: No Append.Value[Seq[String], Seq[String]] found, so Seq[String] cannot be appended to Seq[String].

Missed this completely! Thanks!