Device-side cuRAND for the CUDA target

A frequently requested feature (both from Numba users and Numba developers) is support for the cuRAND device functions (http://docs.nvidia.com/cuda/curand/device-api-overview.html#device-api-overview).  These are very import for Monte Carlo, and other applications.
The current obstacle is that the cuRAND functions are not compiled into libdevice.*.bc files shipped with NVVM.  They are only described in the CUDA C header files.
To fix this, we would need to create a curandom struct type (for single instances of the RNG state) and numpy dtype (for arrays of RNG states), and then compile the cuRAND functions from the C headers to PTX so they can be linked together with Numba-compiled GPU functions.
There are several ways to handle this, with different issues:

Precompile the cuRAND functions to PTX and ship them with Numba.  Problem: may not match system CUDA toolkit
Precompile the cuRAND functions to PTX and ship them with the cudatoolkit conda package.  Problem: not all Numba users are installing with conda.
Ship the relevant C headers in the cudatoolkit package and then either use those (if running from conda) or use the headers installed with the system CUDA toolkit.  Those headers will be fed to NVRTC for compilation to PTX at runtime.  (http://docs.nvidia.com/cuda/nvrtc/index.html#axzz4YhpaHpUC)

Added by implementing xoroshiro+ in Numba 0.34.


Error getting image

This is our online picture access address:

http://app.whhealth.gov.cn/yyzlWS/getImage.action?imageName=nolevel441628856%40%23%4032
http://app.whhealth.gov.cn/yyzlWS/getImage.action?imageName=nolevel441628856%40%23%40119

Two different images, accessed through the browser, are normal. But in the project, the picture was not shown correctly and the feeling was overwritten

Client code：
[_iconView sd_setImageWithURL:[NSURL URLWithString:avatar_url] placeholderImage:[UIImage<EMAIL_ADDRESS>Looking forward to your reply

@turkeyaa I assume you found your answer. If not, feel free to reopen the issue and let us organize it a bit by providing the issue template info - I added the template, just fill in


Documentation for "Restoring training session"

At https://williamfalcon.github.io/pytorch-lightning/Trainer/Checkpointing/#restoring-training-session (docs/Trainer/Checkpointing.md) it is suggested that the way to restore a training session is to use a test_tube Experiment:
from test_tube import Experiment
exp = Experiment(version=a_previous_version_with_a_saved_checkpoint)
trainer = Trainer(experiment=exp)

But running this code gives a type error, as Trainer no longer takes the named parameter experiment: TypeError: __init__() got an unexpected keyword argument 'experiment'
What's the current method for restoring training sessions?

After reading the source code. This is a way to restore the training session.
for example, I want to restore version 2.
import pytorch_lightning as pl
from pytorch_lightning.logging import TestTubeLogger

logger = TestTubeLogger(
                save_dir=f'./saved/chk/{model_name}_fold{fold}',
                version=2,
                name='lightning_logs'
            )
trainer = pl.Trainer(logger=logger,
                    max_nb_epochs=10,
                     gpus=1,
                     amp_level='O1', use_amp=True,
                     default_save_path=f'./saved/chk/{model_name}_fold{fold}',
                     early_stop_callback=None,
                     val_check_interval=0.25,
                    )
trainer.fit(model_sys)

then the code outputs
model and trainer restored from checkpoint: ./saved/chk/se_resnext50_32x4d_fold0/lightning_logs/version_2/checkpoints/_ckpt_epoch_6.ckpt

Thanks - I'm also not sure if having the checkpoint restoration tied to the logger is the best way, but I've submitted a pull request to update the docs based on that solution, so at least the method in the docs actually works.

Docs don't seem to be updated:
https://williamfalcon.github.io/pytorch-lightning/Trainer/Checkpointing/#restoring-training-session

@williamFalcon the docs is not updated for this it seems.

We are actually working on new documentation #521


[PixivBridge] Rewrite Bridge

Rewrite the bridge to use the new site format and added some options:

Search for Illustrations, Manga or Novels
Custom Post Limit
Choose between thumbnails and full-sized image

Closes #1807
Closes #1258

Thanks for the review @em92. I believe all 3 issues are fixed now. I can squash the commits after they are approved.

gj!


What happened to this Repo?

I was wondering if there is any plans to resume working on this repo.
If not, would be great to know what happened, what are the reasons why the community dropped the ball, and what are the alternatives out there.
Thank you

+1

+1

+1

The project is dead.
See #1257 #1184

Could you please leave a note about this in the README?


Add date filter conditions

Review Checklist

Summary*

[ ] fix: Bug fix for Add the items tackled here as checklists
[x] feat: Completed task
[ ] chore: Incomplete task

[ ] test: Sub-task 1

Structure*

[ ] The Pull Request has a proper title that conforms to our MR title standards
[ ] The Pull Request has one commit, and if there are more than one, they should be squashed
[ ] The commit should have a proper title and a short description
[ ] The commit must be signed off
[ ] Unused imports are not present
[ ] Dead code is not present
[ ] Ensure dry running library to confirm changes

Tests

[ ] Proper and high quality unit, integration and acceptance(if applicable) tests have been written
[ ] The coverage threshold should not be lowered

Sign off*

[ ] All comments have been resolved by the reviewers
[ ] Approved by Czar {replace_with_czar_name}
[ ] Signed off by second reviewer {replace_with_name}
[ ] Ensure all checks are done before merging :warning:
[ ] All PRs needs to be signed before merging :warning:

N/B:

Add a checklist if more than one item is done.
Add screenshots and/or images where necessary
Indicate any breakages caused in the UI :exclamation:
Where necessary, indicate which issue the Pull Request solves (Closes #)
Any new files are updated in the folder structure in the README

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

39 of 39 (100.0%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 81.844%

Files with Coverage Reduction
New Missed Lines
%

pkg/clinical/usecases/clinical/composition.go
3
96.86%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
5513

Relevant Lines:
6736

💛  - Coveralls


timbre transfer from violin(or digital synthesizer)  to singing voice?

We have not tried it, but the current structure of the "synthesizer" is not fit for singing voice (formants are not well modeled by sinusoids). I guess the Neural Source Filter as an output module could be a better choice to perform this ;)

sorry, I dit not notice  that z-encoder is not used in Voilon modelling.
If singing voice is trainded together with lots of instruemnts(eg. Nsynth dataset), interpolating of z-vector would result in cross synthesis of instrument and singing voice.  I'm interested in what it sounds like.

My guess is that the two domains might be too distinct to obtain real "cross-synthesis" if we use the model as is (and also the fact that it is a simple deterministic AE for now). Maybe enforcing domain confusion in some of the latent could help to avoid having a huge gap between the two distributions

Thank for your comment. I will spend some time do some experiments. close the issue now.


add sep24 callback params

ticket

Hey @acharb I think for now we can close this PR. We still need to discuss it more internally. Currently, in the Anchor Platform, which we use as a standard implementation of all SEPs, callbacks are configured on the Anchor side. So we may want to align protocol to the implementation, as we think this approach is better for various reasons

@Ifropc are you saying the Anchor Platform implementation currently deviates from the SEP standard and we think we might want to update the SEP standard to reflect this deviation?
any risk to merging what we have here for now while we figure out the changes we'd like to make?
also do you have any kind of ETA for when we'll land on a longterm solution?

@mtwtfss
Yes, that's correct!
There's no risk in merging it, but potentially we might carry deprecated parameters in the Wallet SDK, and would need to deal with the deprecation appropriately.
Sorry for now there's no ETA, but I created a task for finalizing decisions of callback handling and put it on the top of my backlog

@Ifropc do we have any news regarding the usage of sep24 callback parameters? I'm leaning towards closing this PR given it's around for a long time now

I agree we can close this PR. It might be easier to re-do it in the future if necessary


Please add a license file.

The Apache 2 license file is a good one.  I can create a PR if you want.

I've added myself, thanks for remembering!


Which types of CMIP6 Climate models to select for a specific region

Here are instructions both for registering your institution and model for CMIP6 and for raising other issues concerning CMIP6 controlled vocabularies. We can update details iteratively, until you begin writing CMIP6 data.
I want to know which  Climate models to select at a specific region,for example The upper reaches of the Yangtze River,as we know, there are many kinds of climate models in the cmip6 data(the following photo),I want to select the most appropriate several climate models for a specific region.

.

@wh19971014 this repo is being used for collecting information regarding contributors to CMIP6, not for QandA.
I suggest you redirect your browser to the CMIP6 Guide, see https://pcmdi.llnl.gov/CMIP6/Guide/dataUsers.html. In addition, considering a literature review of how previous studies have assessed global model performance (for e.g. Yangtze river and CMIP5) for regional use may be a good starting point


Editing

@AgnesBelt - I've edited your posts for spelling, conciseness and consistency and added U4RIA tags and the "practice" category.  Could you confirm you're happy with my changes?

Hi @willu47, looks great. Thanks!


Unable to train model with USE4 in KerasLayer

The example works to produce a tensor based on a provided sentence, but when trying to build a model with the embedding layer, it errors.
embed_layer = hub.KerasLayer("https://tfhub.dev/google/universal-sentence-encoder-large/4",input_shape=[],dtype=tf.string,trainable=True)
model = tf.keras.Sequential()
model.add(embed_layer)
model.add(tf.keras.layers.Dense(16, activation='relu'))
model.add(tf.keras.layers.Dense(1, activation='sigmoid'))
model.summary()
The Output shape looks odd - why the dictionary
Model: "sequential"
Layer (type)                         Output Shape                   Params
keras_layer (KerasLayer)     {'outputs': (None, 512)}  147354880
dense (Dense)                             (None, 16)                8208
dense_1 (Dense)                          (None, 1)                 17
Total params: 147,363,105
Trainable params: 147,363,105
Non-trainable params: 0
history = model.fit(train_dataset,
validation_data=validation_dataset,
epochs=30,
verbose=1
)
ERROR:
ValueError: Error when checking input: expected keras_layer_input to have 1 dimensions, but got array with shape ()

I did it using colab and I was able to run it successfully. Please find the gist here.


Website not starting

By default the plugin points to <IP_ADDRESS>:8080, which in a standard setting does not respond. Any special reason to to run on localhost, as other web plugins do?
Thanks.

This was taken from the default for the http-server npm package, but I'm
open to suggestions.
Default to http://localhost:8080 ? Or another port?
On 26 Nov 2017 06:20, "Paolo Cavallini"<EMAIL_ADDRESS>wrote:

By default the plugin points to <IP_ADDRESS>:8080, which in a standard
setting does not respond. Any special reason to to run on localhost, as
other web plugins do?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sbenten/d3MapRenderer/issues/41, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGmRUSGHCJVovtqkwokhm85pS5icF2Dbks5s6QMYgaJpZM4QqrLi
.

I suggest to follow the approach of qgis2web. In fact, merging your work with this plugin would be great @tomchadwin

I did look at this back in early versions, but there were a lot of dissimilarities which could have made it problematic:

the need for a local server (Leaflet/OpenLayers can work with local files), so the preview would have to to be constructed very differently

D3 didn't use EPSG CRSes, rather handing projections itself, and there seemed to be no easy way to select a D3 projection appropriate to the QGIS project

However, there are possibly ways that work could be done, if it was of interest.

OK, I see, thanks @tomchadwin for comments.


Add query request ID to log lines for slow / large queries

Currently, these log lines don't include any information on the exact query (apart from the table name which isn't too useful just by itself).
This minor patch includes the query's request ID in the log for better debuggability.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (e39d296).
Report is 1448 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (e39d296). Click for more details.
HEAD has 48 uploads less than BASE

Flag
BASE (59551e4)
HEAD (e39d296)

integration
7
2

integration2
3
2

temurin
12
2

java-21
7
2

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14627       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

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


NoneType object has no attribute push_event in savant_rs_video_demux

On the license plate recognition pipeline ( with SDK), sometimes a demuxer error occurs. The error does not always occur, there is no 100% way to reproduce. After the error, the stream are reconnected, but frame processing is not resumed.
error.txt

module-analytics-1          |   File "/usr/lib/python3/dist-packages/gi/overrides/Gst.py", line 121, in _chain_override
module-analytics-1          |     return self._real_chain_func(pad, buf)
module-analytics-1          |   File "/opt/savant/gst_plugins/python/savant_rs_video_demux.py", line 354, in handle_buffer
module-analytics-1          |     result = self.handle_video_frame(
module-analytics-1          |   File "/opt/savant/gst_plugins/python/savant_rs_video_demux.py", line 441, in handle_video_frame
module-analytics-1          |     self.add_source(video_frame.source_id, source_info)
module-analytics-1          |   File "/opt/savant/gst_plugins/python/savant_rs_video_demux.py", line 658, in add_source
module-analytics-1          |     source_info.src_pad.push_event(Gst.Event.new_segment(segment))
module-analytics-1          | AttributeError: 'NoneType' object has no attribute 'push_event'

On the first sight it only can happen if
the eos happen while the pipeline still tries to establish the source.

I believe that the operation in the line is not safe because when None is assigned another thread can call another operation in the middle when the consumer does not check for the None.
I would suggest assigning a mock object doing nothing.

age_gender_recognition-module-1          |  INFO  insight::savant::savant_rs_video_demux               > Created new src pad for source video: src_video.
age_gender_recognition-module-1          |  INFO  insight::savant::age_gender_recognition              > Added source video
age_gender_recognition-always-on-sink-1  |  WARN  savant_rs::message::validate_seq_iq                          > Failed to validate seq_id=612 for video, expected=1. SeqId discrepancy is a symptom of message loss or stream termination without EOS
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::savant_rs_video_demux                       > Created new src pad for source video: src_video.
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::always_on_rtsp_frame_sink                   > Frame resolution is 1280x720
age_gender_recognition-module-1          |  INFO  insight::savant::savant_rs_video_demux               > Timestamps on source video non-monotonous. Resetting source.
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          | nvstreammux: Successfully handled EOS for source_id=1
age_gender_recognition-module-1          |  INFO  insight::savant::savant_rs_video_decode_bin           > Removing branch with source video
age_gender_recognition-module-1          |  INFO  insight::savant::savant_rs_video_decode_bin           > Branch with source video removed
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::savant_rs_video_demux                       > Received EOS from source video.
age_gender_recognition-module-1          |  INFO  insight::savant::age_gender_recognition               > Resources for source video has been released.
age_gender_recognition-always-on-sink-1  | Input video: Processed 149 frames, 4.97 FPS.
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::gstreamer::runner                           > Received EOS from input-pipeline.
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::adapters::ao_sink::pipeline::PipelineThread > Source video. Pipeline input-pipeline is stopped
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::zeromq_src::zeromq_src+zeromqsrc1           > Returning <enum GST_FLOW_FLUSHING of type Gst.FlowReturn>
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::utils::zeromq                               > Closing ZeroMQ socket
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::utils::zeromq                               > Terminating ZeroMQ context.
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::utils::zeromq                               > ZeroMQ context terminated
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::gstreamer::runner                           > The pipeline is about to stop. Operation took 0:00:30.979033.
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::adapters::ao_sink::pipeline::PipelineThread > Source video. Starting pipeline input-pipeline
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::gstreamer::runner                           > Starting pipeline `<Gst.Pipeline object at 0x7f2c0f220fc0 (GstPipeline at 0x7f2c1c007960)>`...
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::utils::zeromq                               > Starting ZMQ source: socket ipc:///tmp/zmq-sockets/output-video.ipc, type ReceiverSocketTypes.SUB, bind False.
age_gender_recognition-always-on-sink-1  |  INFO  insight::savant::gstreamer::runner                           > The pipeline is initialized and ready to process data. Initialization took 0:00:00.000616.
age_gender_recognition-module-1          |  INFO  insight::savant::savant_rs_video_demux                > Timestamps on source video non-monotonous. Resetting source.
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push_event called with event <Gst.Event object at 0x7f715e088a00 (GstEvent at 0x7f7080011c90)>
age_gender_recognition-module-1          |
age_gender_recognition-module-1          | (python:1): GStreamer-CRITICAL **: 08:26:02.592: Padname '':savant_rs_video_demux+evictedsrcpad1 does not belong to element savant_rs_video_demux+savantrsvideodemux0 when removing
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called
age_gender_recognition-module-1          |  WARN  insight::savant::savant_rs_video_demux::EvictedSrcPad > EvictedSrcPad.push called

PR with evicted pad: https://github.com/insight-platform/Savant/pull/630/files
Reproduce.
console 1:
docker compose -f samples/age_gender_recognition/docker-compose.x86.yml up module always-on-sink

console 2:
docker compose -f samples/age_gender_recognition/docker-compose.x86.yml up video-loop-source

just start and stop several times randomly.

I've manged to reproduce the issue by running a module with 4 sources and constantly restarting the sources.
Module has SOURCE_TIMEOUT=1.
Moving everything inside self.source_lock fixes this problem, but this leads to another issue: the module fails with No valid frames found before end of stream (5) error.

@tomskikh, what about the performance if the lock is used?

@bwsw Didn't measure it yet.

The reason of No valid frames found before end of stream error is not clear since the decoder received a few frames before EOS and the first frame was a keyframe. I suggest to reopen the issue https://github.com/insight-platform/Savant/issues/181.

@bwsw Instead of putting everything under source_lock I've added a flag to mark source as busy, so eviction thread won't evict it. The performance of age_gender_recognition didn't change.
Before fix:
fps: 318.79
fps_avg: [321.73, 328.12, 306.53]

After fix:
fps: 322.03
fps_avg: [343.64, 305.81, 316.63]

@tomskikh looks good.


build: initiate msquic wrapper library development

Pull Request Checklist
Please check if your pull request fulfills the following requirements:

[x] The commit message follows our guidelines: https://gitlab.playpod.ir/alpha/backend/server-services-next/-/blob/main/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added / updated (for feat / fix / refactor)
[ ] Docs for the changes have been added / updated (for feat / fix / refactor)

Pull Request Type
What kind of change does this pull request introduce?

[x] Build: Changes that affect the build system or external dependencies
[ ] CD: Changes to our CD configuration files and scripts
[ ] CI: Changes to our CI configuration files and scripts
[ ] Docs: Documentation only changes
[ ] Feat: A new feature
[ ] Fix: A bug fix
[ ] Perf: A code change that improves performance
[ ] Refactor: A code change that neither fixes a bug nor adds a feature
[ ] Test: Adding missing tests or correcting existing tests

What is the current behavior?

Issue #466
What is the new behavior?
Adds initiative files and msquic dependency for WOLF_STREAM_QUIC feature.
w_quic.hpp header has a foo function which is used in tests to ensure build and tests work correctly.
Does this Pull Request introduce a breaking change?

[ ] Yes
[x] No

Other information
Closes #466

@cthulhu-irl  thank you


Safari (OS X and iOS): Some IFrames disappear when Vue is mounted

Vue.js version
2.1.4
Reproduction Link
http://codepen.io/anon/pen/XNYzdz
Steps to reproduce
Create an element that contains an <iframe> with the src to a YouTube video embed (explanation below) and mount Vue on the outer element. Load page with Safari on OS X or iOS.
What is Expected?
The contents of the <iframe> should be visible.
What is actually happening?
The <iframe> disappears on most page loads (you may need to reload the page to see this). It still exists in the DOM, and is sized appropriately, but the IFrame fails to load with an error in the network tab in Inspector, "An error occurred trying to load the resource".
@danielsamuels helpfully investigated it further and found that the same thing does not happen in Vue 1.0.28, so perhaps that will narrow it down somewhat:
https://output.jsbin.com/giludapuze
I chose a YouTube video for the example because this reproduces it most consistently. Setting the iframe source to a locally-served image with a locally-served Vue bundle does not seem to cause it.
We have reproduced this on:

iOS 9.3.4 Safari
iOS 10 Safari (in Simulator)
OS X Safari 9.1.2, 9.1.3, and 10.0.1

Thanks for your time!

Probably caused by some Safari quirks.
String templates seems to work fine: http://codepen.io/anon/pen/rWKJxV

This is a Safari bug, removing an element containing an iframe causes other iframes with the same src still in DOM to go blank: http://codepen.io/yyx990803/pen/GNGwXg I suggest opening an issue at WebKit's bug tracker instead.
Not really much we can do in Vue since changing insertion/removing order is going to affect a lot of the patching internals and potentially lead to breaking changes.
As @fnlctrl points, the workaround is using string templates instead of in-DOM templates. It is more efficient too.

I'm having the same issue. VueJS on Safari stops working once I embed a Youtube video iframe. Any suggestions?


Update to Node 16

It's the next LTS and might fix some flakiness we are seeing.
see https://github.com/Azure/autorest/issues/4322

Looking at the contribution guide in the autorest repo we are already recommending LTS version
@m-nash , @jorgerangel-msft please feel free to reopen if this issue is still relevant.


Design document for the NF Topology controller

Document the purpose and design guidelines for the NF topology controller.
Refer to parent issue for details.

PR is out for this.
https://github.com/nephio-project/nephio/pull/428


Deletion in Binary Search Tree

Description
Generating this issue to add documentation of deletion of a particular element in Binary Search Tree.
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign

/assign

Closing this as the PR got merged


Document how to make rf_settings part of layout file

I'm really confused about how to do this, at the top of the example file it says "Generated on date on time", is there some program I run to generate this?

You can use the keyplus flasher to generate this file. The latest version is on the releases page. There's only a build for windows at the moment, but you can also run the flasher on Linux by cloning the git repository and running form source.
Choose  "Device and RF settings" from the drop down box and then you should be able to generate and program the RF settings to your devices.

The reason for keeping this file separate is it contains your encryption key for your devices, so you'll want to generate your own and keep it private. After you have loaded your RF settings file, you only need to flash your layout file to the device as the device will preserve the previously loaded settings.

Since keyplus flasher isn't working on my computer, is there a way to generate it from the command line or manually?


feat: support clean read base on fast mode

What problem does this PR solve?
Issue Number: ref #5252
Problem Summary:
What is changed and how it works?
enable clean read(optimization handle column) on fast mode.
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/rebuild

@lidezhu @JaySon-Huang

/merge


Highlighting objects

Would be nice if there was a node to add outlines ect. to an object to highlight it as the object that should be used in the current step.

That's an interesting idea to guide the user's attention to specific objects.
That would most likely belong into the object helper node I suppose: https://jblattgerste.github.io/TrainAR/manual/ObjectHelperNode.html

So changes would have to made here:
https://jblattgerste.github.io/TrainAR/api/Visual_Scripting.ObjectHelper.html
But there are probably then also considerations to be made on the Outline script directly:
https://jblattgerste.github.io/TrainAR/api/Interaction.Outline.html


Header Component file name should be changed

The devhub still doesn't have the 'implicit' default naming system set up yet. The header component title in devhub is "README". I'd suggest renaming the header file to Header.md for the time being.
The file i'm speaking can be found at https://github.com/bcgov/design-system/blob/master/components/header/README.md

I'd suggest Header.md for now.
I'm just in the process of setting up the implicit default system i mentioned. Once that's in place, the name of the file will only ever be as the title if:

the frontmatter is missing a title property
the markdown doesn't have an h1 or h2 tag on the first line

since this PR im talking about is planned for today. I'll close this issue


Thorium tab crashes every time I try to open Discord after logging in.

System Details

OS: Windows 7
Thorium Version: 109.0.5414.172

Problem
Thorium tab crashes every time I try to open Discord after logging in.
Screenshots

@Kame03 This was fixed in the latest M122 version over in the Thorium-Win7 repo.


An easy problem about tensorflow GPU unilization

Today , I run an easy RNN model to deal with a  NLP task, which the traindata is just about 4000 short sentences and the iteration is 30. However, the time cost about 1 hour to finish the procedure. my computer GPU is nvidia 1080Ti and CPU is i7 8700K.
In the console, the information is:
Total memory: 10.91GiB
Free memory: 10.30GiB
but in the terminal, i use the command： nvidia-smi -l
it return another information:
10713MiB / 11171MiB
my question are : 1. Does the GPU really work ???
2. if work, why the time cost still large???
Thx！

@cancan101  you please take a look? Thanks

Perhaps you can try profiling your code while you wait for a tensorflower. Here is an issue that might help: #1824

While you're at it also check these out:
tensorflow low gpu usage on titan x
tensorflow gpu utilization only 60% (gtx 1070)

@MarkSonn Thank you for your good answer, i will check my code according the solutions~~

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?


CFBundleIdentifier Collision Publishing iOS

ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'org.nativescript.TNSWidgets' under the iOS application 'Wos.app'."

@NNieto how you solved this?
Thank you

@mounirka the problem is the tns-platform declarations, using next, it duplicates the TNSWidgets. Please refer to this issue https://github.com/NativeScript/NativeScript/issues/3046#issuecomment-269857864


restyled Tags (with example)

It seems for me that the Tags are a little bit "boring", i have "restyled" it a little bit.
http://jsfiddle.net/Qkpn4/
What do you think about it? I would be happy to see this in bootstrap 2.0.x

-1 IMO tags should be smaller than text surrounding them. Otherwise they might be mistaken as being buttons.

Good call—I've disliked the style of those for the last few months :). Done in 2.0.1-wip.


[WIP] Deep Linking for mobile app

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
About # (link your issue here)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:

[ ] PR title matches follow: (Feature|Bug|Chore) Task Name
[ ] My code follows the style guidelines of this project
[ ] I have followed all the instructions described in the initial task (check Definitions of Done)
[ ] I have performed a self-review of my own code
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have added reference to a related issue in the repository
[ ] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request ( for frontend tasks)
[ ] I have pasted a gif showing the feature.
[ ] @mentions of the person or team responsible for reviewing proposed changes

remove secrets from android gradle
remove branch live keys use only branch.json with ios and android with only testKey
in production we will add branchkey in CI
https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/blob/d1efbaa9afe877832e5c791ea71f252e873eaddf/docs/branch.json.md

I pushed changes about this. Check this and let me know if I have not understood correctly.
The AndroidManifest requires a key on android:value to work.

@serdiukov-o-nordwhale can you resolve comments that have been fixed?

@serdiukov-o-nordwhale can you resolve comments that have been fixed?

Nothing of my comments has been resolved. @nicastelo has imported our utils/linking but then we've asked him to unify interfaces this is still not ready

@nicastelo
all my comments are resolved
just this one issue found by @sirpy  isn’t still fixed: https://github.com/GoodDollar/GoodDAPP/pull/1413/files/89dcb47e9a0fd28b071415eba04534fdd1039f4d..0859df52115c4e4c985858b8bd2f73eddeba9bf0#diff-dc46f9f5dfe204e394fb41395ccd03cfL179
Pls fix it then PR will be ready for merge


Guest mode

All hooks in guest mode are enabled by default. There is no way to modify guest mode settings.
https://forum.vivaldi.net/topic/11298/vivaldihooks-more-useful-mods/266?_=1591972922101
May be hooks should be disabled in guest mode at all, but I'm not sure.

Just to give my opinion on this (why not...), hooks should be disabled in Guest Mode (if technically possible). Guest Mode is used when another person wants to borrow the browser. And some of use use it also for testing website and UI issues in a "clean" profile which is kind of pointless if lots of hooks are loaded. Just my 2€ :)


Change all port references to use port name instead

just noticed that we reference the 9090 port in few places. Instead we should set a port name and reference that instead so that when it changes don't need to update all references.
serviceName: prometheus-meta
          servicePort: 9090
        path: /prometheus-meta

should change to
serviceName: prometheus-meta
          servicePort: web
        path: /prometheus-meta

duplicate of https://github.com/prometheus/prombench/issues/105


Need the update to RTM version(10240)

After Modifing the csproj file to "10.0.10240.0 ", and then compile the project, it showes:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.16-beta\build\portable-net45+win8+wpa81\Microsoft.Diagnostics.Tracing.EventSource.Redist.targets.	JsRT_UWP_Sample	D:\Source\Repos\Chakra-Samples\JavaScript Runtime Samples\JSRT Universal Windows Apps Hosting Samples\C#\JsRT_UWP_Sample\JsRT_UWP_Sample.csproj	165

Thanks for the feedback! I'll update the samples shortly.

Just updated with this commit. Thanks!


The specified network name is no longer available

2023-11-11 15:49:33 | INFO | assets.configs.config | Found GPU NVIDIA GeForce GTX 750 Ti
is_half:True, device:cuda:0
Traceback (most recent call last):
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\infer-web.py", line 65, in <module>
    import tabs.tts as tts
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 258, in <module>
    set_edge_voice = get_edge_voice()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 246, in get_edge_voice
    voices_json = loop.run_until_complete(loop_main())
  File "asyncio\base_events.py", line 647, in run_until_complete
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 240, in loop_main
    voices = await create()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 228, in create
    voices = await list_voices() if custom_voices is None else custom_voices
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 204, in list_voices
    async with session.get(
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\client.py", line 1141, in __aenter__
    self._resp = await self._coro
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\client.py", line 560, in _request
    await resp.start(conn)
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\client_reqrep.py", line 899, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ClientOSError: [WinError 64] The specified network name is no longer available

how do i fix this shit, im tired of all codes not working :'( every single rvc i tried is broken ( atleast for me :(( )

The code is not broken there's a problem with your network connection what OS are you using?

The code is not broken there's a problem with your network connection what OS are you using?

windows

Do you have some type of antivirus or firewall apart from windows default?

Do you have some type of antivirus or firewall apart from windows default?

nope

but this time i got this error
023-11-11 15:09:13 | INFO | assets.configs.config | Found GPU NVIDIA GeForce GTX 750 Ti
is_half:True, device:cuda:0
2023-11-11 15:10:19 | INFO | __main__ | Starting the Flask server
2023-11-11 15:10:19 | INFO | __main__ | Flask server started!
2023-11-11 15:10:19 | INFO | assets.i18n.i18n | Using Language: en_US
2023-11-11 15:10:19 | INFO | lib.tools.loader_themes | Theme Loaded: Applio
Traceback (most recent call last):
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\lib\tools\server.py", line 1, in <module>
    from flask import Flask, request, Response
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\gradio\networking.py", line 121, in start_server
    s.bind((LOCALHOST_NAME, server_port))
PermissionError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\infer-web.py", line 3075, in <module>
    GradioRun(app)
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\infer-web.py", line 3063, in GradioRun
    app.queue(concurrency_count=concurrency_count, max_size=max_size).launch(
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\gradio\blocks.py", line 1771, in launch
    server_name, server_port, local_url, app, server = networking.start_server(
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\gradio\networking.py", line 124, in start_server
    raise OSError(
OSError: Port 7897 is in use. If a gradio.Blocks is running on the port, you can close() it or gradio.close_all().
Press any key to continue . . .
```, i use diffrent ports each times, sometime it doesnt work but im not sure if its because the port is in use

That error is because you have opened Applio twice, but the first error is so peculiar because is like the network adapter isn't being detected by aiohttp

And flask I think is broken in the runtime but it doesn't make the first error appear

btw how long does it approximately takes for applio to open? because sometimes it takes like 15 minutes and im not sure whether its stuck or still loading fine

2023-11-11 16:20:03 | INFO | assets.configs.config | Found GPU NVIDIA GeForce GTX 750 Ti
is_half:True, device:cuda:0
Traceback (most recent call last):
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\infer-web.py", line 65, in <module>
    import tabs.tts as tts
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 258, in <module>
    set_edge_voice = get_edge_voice()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 246, in get_edge_voice
    voices_json = loop.run_until_complete(loop_main())
  File "asyncio\base_events.py", line 647, in run_until_complete
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 240, in loop_main
    voices = await create()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 228, in create
    voices = await list_voices() if custom_voices is None else custom_voices
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\tabs\tts.py", line 222, in list_voices
    data = json.loads(await url.text())
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\client_reqrep.py", line 1081, in text
    await self.read()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\client_reqrep.py", line 1037, in read
    self._body = await self.content.read()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\streams.py", line 375, in read
    block = await self.readany()
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\streams.py", line 397, in readany
    await self._wait("readany")
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\streams.py", line 304, in _wait
    await waiter
  File "G:\Artificial_Intelilgence\Applio-RVC-Fork\runtime\lib\site-packages\aiohttp\helpers.py", line 720, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
Press any key to continue . . .

this is the third type of error i just got lol

Yep there's something wrong with aiohttp could you try reinstall Applio and install it with the second option called "conda"

Yep there's something wrong with aiohttp could you try reinstall Applio and install it with the second option called "conda"

yeah im pretty sure thats not gonna fix anything 😭, already tried like 5 other RVC, idk but for some reason im so unlucky that i can never reach my goal and all codes give me errors, sometime i go as far as even modifiying the code of the library and repositories code with the thought of being able to fix it ._., but yeah theres infinite amount of errors blocking my way lol, anyways thanks man

No problem I'm sorry I can't fix your issue

Yep there's something wrong with aiohttp could you try reinstall Applio and install it with the second option called "conda"

pretty sure this is not the right the place to ask this but im gonna ask it anyways, by anychance do you know any website that i can generate tts in? perhaps with ability to clone voices or use a trained voice model file?

cuz i definitely cant run something locally to do it so my only way is online services now

you can try eleven labs but I think there's s cap of uses


Devices stopped working last few days

I was having issues with a meross plug (MSS210) so I updated to the latest version.
Since I updated my covers have been behaving strangely, and since last night my covers (MRS100) stopped working.
I checked eHomeLife App and there they work fine.
I restarted Home Assistant and still they're not working.
I've checked the logs and there's no error reported.
After some digging around I've noticed that when I give the command to close the cover in my office it is closing the cover on my living room.
And I've also noticed severall MAC addresses reported for the same device in Home Assistant:

I don't know if it is related, but the devices don't have static IP addresses, but I've been using this for several months without any problems.

The multiple macs shouldnt be there but this is not the reason the covers are exchanged.
Could you try enter the 'office cover' meross_lan configuration entry and hit 'submit' even without changing the configuration. This should check that at the address specified, the device responds with the correct identification. If , somehow, the office cover is now configured with the kitchen cover ip, this check should raise an error stating the device id does not correspond.
If this is the case you could try 'fix' the wrong configured ip
The same check should be done for the other (kitchen cover) entry
The fact that multiple macs are configured might have lead to a wrong dhcp update and now the two covers have exchanged their ip in configuration (automatically from dhcp then)
Later on we'll see how to clear up the device registry in order to cancel these wrong macs

I am experiencing similar issues where my garage door opener falls off after a couple days but I Can still access it through the meross app
2023-11-29 11:09:24.265 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): polling start
2023-11-29 11:09:24.283 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request GET Appliance.System.DNDMode attempt(0)
2023-11-29 11:09:24.396 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request GET Appliance.System.Runtime attempt(0)
2023-11-29 11:09:24.513 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ClientOSError([Errno 104] Connection reset by peer) in async_http_request GET Appliance.GarageDoor.Config attempt(0)
2023-11-29 11:09:24.613 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): polling end
2023-11-29 11:09:29.723 DEBUG (MainThread) [custom_components.meross_lan] MerossMQTTConnection(1646541:mqtt-us-2.meross.com:443): MQTT RECV device_id:(2208100068855261070248e1e9a0f911) method:(PUSH) namespace:(Appliance.GarageDoor.State)
2023-11-29 11:09:45.360 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(living room switch): polling start
2023-11-29 11:09:45.388 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(living room switch): polling end
2023-11-29 11:09:51.070 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request SET Appliance.GarageDoor.State attempt(0)
2023-11-29 11:09:51.182 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request SET Appliance.GarageDoor.State attempt(1)
2023-11-29 11:09:51.301 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request SET Appliance.GarageDoor.State attempt(2)
2023-11-29 11:09:54.614 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): polling start
2023-11-29 11:09:54.706 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request GET Appliance.System.DNDMode attempt(0)
2023-11-29 11:09:54.861 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ClientOSError([Errno 104] Connection reset by peer) in async_http_request GET Appliance.System.Runtime attempt(0)
2023-11-29 11:09:54.971 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): ServerDisconnectedError(Server disconnected) in async_http_request GET Appliance.GarageDoor.Config attempt(0)
2023-11-29 11:09:55.072 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(Smart Garage Door Opener): polling end

The 'ServerDisconnectedError' might indicate the device key configured in meross_lan is wrong or (more likely) the device ip is wrong.
To be able to better inspect the log I would need the diagnostic trace. This will carry more information about the device configuration and behavior.
As a starter check the configuration entry for the meross_lan device is ok by inspecting the device address and key and hitting the 'submit' will do a general connection check in order to see if the configuration is ok

config_entry-meross_lan-7258466d5da93dd09163822e86d26429.json.txt

It really looks like the device doesn't "want" to respond over HTTP. Is the device host address correct in meross_lan configuration entry? also, if possible, you should try pinging it from the HA server so to ensure it is really reachable, even if pinging alone might not suffice to ensure connectivity but is a starter

It is a bit more complicated though. Thinking about these issues I've found an 'hole' where a meross_lan device could start talking to a different physical device if this different one is a valid meross device and 'takes on' the ip of the previous.
Usually, the DHCP updates (should they work) would take care of this and meross_lan always know the correct ip even when this changes but:
-if HA was offline when the ip address switched (so it didn't receive the update) or fails for any other reason to communicate this update, meross_lan could blindly talk to a device (and here starts the mess)

even when HA is online there might be issues in dispatching the DHCP update

Now, the DHCP update, when it works, is correctly managed and matched against the mac address of the device but, the mac address of the device (configured) could have been messed up by meross_lan if it starts talking to a different device without being aware of the mistake.
This is very edgy (looks like this the first time it happens) but to be honest it could happen whenever two meross devices exchange their ip (or just one takes over the ip of another configured meross device)
I feel a bit dumb now since I didn't imagine this kind of swapping behavior. All in all I should have considered anyway the scenario where the device responding to HTTP requests could not be the original one !!
The code with this kind of (stricter) checking is underway. For sure it'll appear as a pre-release very soon

I removed and added the device back which worked for a moment, and then it started getting really goofy, showing both a switch and the garage door opener under the same entity. I included another diagnostic trace file below.

config_entry-meross_lan-7258466d5da93dd09163822e86d26429.json.txt

Hello @matthew-avhouse,
Uhmm..your configuration looks very messed with likely 2 meross_lan configurations linked to the same device (what looks like an  mss110)
I think this is too explainable as per the 'edgy bug' I've explained a bit upper. When a meross device gets the ip address of another meross device (both configured in meross_lan) and the DHCP update didn't get through up to meross_lan, then meross_lan starts talking to a different device thinking this is the old one (it doesn't have a strict check on this regard)
Now, when meross_lan talks to this different device, it keeps updating the stored configuration of the older (this is so it always have a 'fresh' description of the device) and here starts the real mess. From now on HA device configuration will get more and more 'confused' with mac address shared among devices and so..
This is a mess of course and I'm striving to publish an update preventing this 'unforeseen device misrecognition'
Now, to get back to a stable configuration, the bad news is you'd have to completely remove the messed configuration entries (better remove all) and only after removing, restart adding the device.
Now, after this, the issue is likely to reappear (at least until the incoming release update which should fix everything) as soon as the devices switch their address.
This shouldn't happen so often, and usually a device almost always receives the same ip address (unless the network is really crowded and there's a lot of devices reboot/contention)
As I've said, this could happen in every installation with Meross devices receiving 'non fixed' DHCP addresses but, so far, it looks it didn't hit many users
Just a few hours anyway and the patch will come (I'm working for the patch to also be able to 'recover' and cleanup the messe d configurations automatically without the need to go through complete delete/reconfigure but I'm not too optimist this will work in every scenario)


[Question] How to stop Audio playing in background?

I have added background mode in plist.
And this UIApplication.sharedApplication().beginReceivingRemoteControlEvents()
It plays the audio in background mode. But how can I disable it programmatically? Our has an option to disable Music from playing in background.
Have tried this one as well,
do {
try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback)                 print("AVAudioSession Category Playback OK")                 do {                     try AVAudioSession.sharedInstance().setActive(false)                     print("AVAudioSession is Active")                 } catch {                 }             } catch {             }
Thanks for any help in advance.

I also have the same problem.. please advice how could i get the previous instance of jukebox object to stop the background music

i resolve it by using singleton try this: #35


[WIP] Use oauth module from PJC

Fully functional, but could do with going through and removing now-redundant code from the angular layer (caching and token refresh which are now handled by PJC). Closes #114 and #126

This should be ready for review now @saschaishikawa

@itsravenous: Looks good to me. That weird issue with "Skip all questions" disappearing remains. Merging anyway.


Upgrade nsx client SDKs to M5P1 (nsx version <IP_ADDRESS>.1.10604709)

Signed-off-by: Gordon Good<EMAIL_ADDRESS>

@ggoodvmw, looks like there is an error when running the pip install cmd. Can you take a look and fix it?
https://travis-ci.org/vmware/vsphere-automation-sdk-python/jobs/449481683

Should be fixed now.

From: VMware CLA Bot<EMAIL_ADDRESS>Sent: Monday, November 5, 2018 8:53:31 AM
To: vmware/vsphere-automation-sdk-python
Cc: Gordon Good; Mention
Subject: Re: [vmware/vsphere-automation-sdk-python] Upgrade nsx client SDKs to M5P1 (nsx version <IP_ADDRESS>.1.10604709) (#112)
@ggoodvmwhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fggoodvmw&data=02|01|ggood%40vmware.com|39e6349fc58049b1280608d6433f38a5|b39138ca3cee4b4aa4d6cd83d9dd62f0|1|0|636770336153336192&sdata=YHvnnMSW%2FLy5PQs%2BtYY4snSMwJB%2FSTXl2AcMGC%2BLVOE%3D&reserved=0, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe<EMAIL_ADDRESS>to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click herehttps://cla.vmware.com/dco to view the Developer Certificate of Origin agreement.

Commit 6328db5https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Fvsphere-automation-sdk-python%2Fcommit%2F6328db5dc44aea8cf2883ba3c22736236a346010&data=02|01|ggood%40vmware.com|39e6349fc58049b1280608d6433f38a5|b39138ca3cee4b4aa4d6cd83d9dd62f0|1|0|636770336153346195&sdata=N217n%2FMJaYb1vvCrY%2B3ZZbwYBEGqt%2FoyV15MQ7165BI%3D&reserved=0 must be signed by tianhao64<EMAIL_ADDRESS>Commit 3dacf7fhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Fvsphere-automation-sdk-python%2Fcommit%2F3dacf7f2b1da7ddd8d40e7b31f7f3d309cb9fe86&data=02|01|ggood%40vmware.com|39e6349fc58049b1280608d6433f38a5|b39138ca3cee4b4aa4d6cd83d9dd62f0|1|0|636770336153356214&sdata=G31QpATRGn%2FuL4A9QnCLcyqHrFSRcH9BiYsRx2%2Bwulg%3D&reserved=0 must be signed by strefethen<EMAIL_ADDRESS>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Fvsphere-automation-sdk-python%2Fpull%2F112%23issuecomment-435948876&data=02|01|ggood%40vmware.com|39e6349fc58049b1280608d6433f38a5|b39138ca3cee4b4aa4d6cd83d9dd62f0|1|0|636770336153366222&sdata=27GBmCgWxhfCZeWq1vms8Zg7KoO27fejJpvpcQvjlo4%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAeZCjx8w-_RNrd6exynPPNlSCr9B1oVsks5usG0LgaJpZM4YIJyE&data=02|01|ggood%40vmware.com|39e6349fc58049b1280608d6433f38a5|b39138ca3cee4b4aa4d6cd83d9dd62f0|1|0|636770336153376224&sdata=yuTlq9Zn6DQn9e7BBHHr5f59%2F8SEsGhIB2UyfARR7lo%3D&reserved=0.

@ggoodvmw Thanks for fixing the issue. I see the test is passing now. However, looks like there are 4 commits in this pull request, 2 of them are not supposed to be part of this change. I suspect your client was not synced to the latest before making your change. If we merge this PR, it might modify the existing commit history. Could you please stash your change, resync and update this commit again?

Sorry about that, Tianhao, still getting used to the github workflow. I think I've got it correct now, only showing two commits in this pull request.


Optimize product blocks

I added thumbnail types for products primary and secondary images as well as product modal image
blocks and product modals are now using thumbnail types with fallback on legacy thumbnailer if necessary
I also cleaned up a bit the blocks, removed unused resources, redundancies...

Huge amount of work here, will review soon

if it can ake it easier for you to review you can Skype me and I'll walk you through it so you don't need to look at every line

Hit this with a 5.7 upgrade:

oups. I'm on it

It should work now

That's working for me in 5.7.
All looking good so far. My only concern is with the thumbnails system overall (and not with these changes here).. I really like the thumbnail system for control over cropping, etc, but I'm wondering about the potential explosion of additional thumbnail files.  I guess if someone is running a shop the images in their file manager are primarily going to be for products, but that might not always be the case.
I also find it a bit frustrating how it automatically created the retina versions of sizes.
Ultimately someone can still delete these extra thumbnail types if they don't want them to be generated and things will still work.

@MrKarlDilkington pointed out to me that the retina versions of thumbnails can be turned off now at /index.php/dashboard/system/files/thumbnails/options, so that's part of my concern gone

I'm still skeptical about thumbnail types, we've had a ton of issues with it. That's why I made those retina types optional too. If this was implemented https://github.com/concrete5/concrete5/issues/3559, I'd definitely support it, but we are already struggling with thumbnail types. It might be nice to be able to select your own thumbnail types, that way you could select an existing one instead of just adding more?

@Remo, conditional thumbnail types would be an absolute game changer and I agree as it is the thumbnailing system has issues, mostly due to the server space it requires.
Really the reason I modified CS to use thumbnail types is that someone was having problems and it was image related and seemed to be due to CS. Turns out it's most likely a C5 problem.
Having said so, being able to load a product list with already existing images instead of images resized on the fly seems like a good idea.
As for the thumbnail types used for this, I don't think it is necessary to allow users to select their own thumbnail types.
My understanding of Community Store is that it is a non-opinionated e-Commerce tool so it uses minimal styling and sensible defaults so the non-technical user can get by easily and the technical user can modify stuff easily.
Originally the 2 blocks included legacy thumbnailer code with hardcoded width and height values. I simply created thumbnail types to reflect those values.
But then I made sure the thumbnail type instances were at the top of each block's view so using your own thumbnail types is as easy as making a template and changing the 2 types handles for your own.
Last but not least, I see lots of developers not really aware of thumbnail types and how they work in the background. And from my experience, non-technical users have absolutely no clue it's even there so offering an option to temper with something you know nothing about might create even more problems.

I think this was held off until there was more changes in V8 that enabled better control over thumbnail generation. I believe that this is in place now, so it would be worth re-evaluating this.
As a sidenote, there's quite a number of changes coming via a development branch here:
https://github.com/concrete5-community-store/community_store/tree/development
This is a combination of a few features like decimal quantities and other minor features/fixes.
I'm away on holidays at the moment, but the plan is to merge this branch into master soon, before working on other new development items. It's really just about testing this branch.

Bumping this and also asking what is the best way to install the latest for testing and possible production with 8.4.3 (and hopefully the upcoming c5 release)?

I'd like to look again at this soon, just not of the highest priority since it's easy-ish to create custom templates.
Regarding the latest for testing and production, I'd be suggesting to use the V8 only branch and not the master at this point. It's now very stable, and they'll likely be a release soon for it.
(i'm using it for sites soon to be in production myself)


Add references to api-docs

This will add links to documentation  generated from the source. This only adds links to the things which are included in the configuration.rst file.

Great stuff, thanks a lot Tomas.


Added password kwarg

The example of using sh.contrib.sudo with a string password highly confused me as it was missing the crucial bit that the password must be passed via a keyword argument.

Thanks @qbilius, I can see how it can be misleading!


is there capability to compare two JMESpath attributes?

Am working on implementing CIS AWS Benchmarks, and am working on CIS 1.23 "IAM users with keys created at user creation time."
Is there a way to compare two JMESpath attributes?
Within resource iam-user, type credential - Am seeking to compare   user_creation_time with access_keys.last_rotated.  If equal, it indicates the keys were created at account creation time.
policies:

name: iam-users-with-keys-created-at-user-creation-time
description: |
CIS 1.23 IAM users with keys created at user creation time.
resource: iam-user
filters:

type: credential
key: access_keys.active
value: true
type: credential
key: user_creation_time
op: eq
value: access_keys.last_rotated

- access_keys.last_rotated = user_creation_time

there isn't but we could add something like that as a value_type: expr or jmespath

that'd be great - could see several use cases for having the capability.  thanks for the reply.


Dockerfile CI fails, outdated rust compiler

https://github.com/atomicdata-dev/atomic-data-rust/actions/runs/4297410183/jobs/7490348894#step:7:4955
I'll try switching from frovlad/alpine-rust to rust as base image.

https://github.com/atomicdata-dev/atomic-data-rust/actions/runs/4313680117/jobs/7525772504#step:7:185

Might be caused by provenance setting
https://github.com/docker/build-push-action/issues/755#issuecomment-1378489669

Reverting to previous build image error re-introduced the let ... else syntax error, of course.

And now it's just getting killed..

It's an OOM issue (137), possibly related to the crates io index. However, our error is during build, not during registry.


[SPARK-49876][CONNECT] Get rid of global locks from Spark Connect Service

What changes were proposed in this pull request?

Get rid of global locks from Spark Connect Service.

ServerSideListenerHolder: AtomicReference replaces the global lock.
SparkConnectStreamingQueryCache: two global locks are replaced with ConcurrentHashMap and a mutex-protected per-tag data structure, i.e., global locks -> a per-tag lock.

Why are the changes needed?

Spark Connect Service doesn't limit the number of threads, susceptible to priority inversion because of heavy use of global locks.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing tests + modified an existing test.
Was this patch authored or co-authored using generative AI tooling?

No.

Merged to master.


File permissions incorrect in /opt/google if root has a restrictive umask

I suspect this also effects the install_server.sh script, but it hasn't been verified.
Replication steps

Set root user umask to something restrictive, such as 0027
Install GEE Server using RPMs

Expected

All files installed under /opt/google/gehttpd, /opt/google/gepython, and /opt/google/lib will be readable by gepacheuser

Actual

Some file including those under /opt/google/gepython/Python-2.6.6/lib/python2.6/site-packages/google/protobuf are only readable by root user
This causes some components to fail, such as the Admin Console
Other files and components are likely to be effected by this bug, but have yet to be discovered

AC

Fix above permissions issue in RPMs
Check to see if a similar bug is introduced in the Fusion RPM
Determine if the install_server.sh and install_fusion.sh scripts are effected
Update the test plan to include testing with the restrictive umask set

Fixed via #631.


feat(extensions): update extensions load

What this PR does 📖

Updated extensions loading to make it work on linux and windows

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

works on Ubuntu


Add Fan control with GPIO

Hello, first of all thank you very much for all your work!
Description
I added the possibility of controlling a fan via GPIO
I use your integration on my HomeAssistant on raspberry Pi4 to control the fan speed with PWM plugged into the GPIO ports.
But with your integration it appears as a light in the interface of my HomeAssistant.
I would like to be able to control it like a fan in my automations, my scripts and generally define it as a fan in HA since it is one.
This is why I based myself on your excellent work on the lights to add the possibility of defining a device connected to a GPIO port as a fan.
I managed to control my fan with the GPIO ports by following the explanations found on many different forums. This is why I think this new feature can be useful to many people who also use your integration to control a fan.
thanks again
Resume
Bug fix: no
New feature: yes
Fixed tickets: not for the moment

Hey, I really like what you have done. I also use this addon purely to control the fan on my Raspberry Pi. I will test this first and merge if everything is working.

Run python3 -m ruff check . warning: The top-level linter settings are deprecated in favour of their counterparts in the lintsection. Please update the following options in.ruff.toml`:

'ignore' -> 'lint.ignore'
'select' -> 'lint.select'
'flake8-pytest-style' -> 'lint.flake8-pytest-style'
'mccabe' -> 'lint.mccabe'
custom_components/rpi_gpio_pwm/fan.py:125:35: F821 Undefined name Optional
custom_components/rpi_gpio_pwm/fan.py:125:70: F821 Undefined name Optional
custom_components/rpi_gpio_pwm/fan.py:125:102: F821 Undefined name Any
custom_components/rpi_gpio_pwm/fan.py:127:26: E711 Comparison to None should be cond is not None
custom_components/rpi_gpio_pwm/fan.py:135:34: F821 Undefined name Any
Found 5 errors.
No fixes available (1 hidden fix can be enabled with the --unsafe-fixes option).
Error: Process completed with exit code 1.`

I get 5 errors in fan.py on 1 of the checks.
In lines 125,127 and 135 (Undefined name and Comparison to None should be cond is not None)
Could you have a look at that?

Could you have a look at that?

Yes it's okay
I don't know why, but it was the recommendations in the HA Doc regarding Fan entities.
https://developers.home-assistant.io/docs/core/entity/fan/
It's corrected and now the check passes

@erdnaxela02  Well done!!! It is working perfectly on my setup. Really nice work 👍


make tiny improvements to zip-codes example

Looks fine to me, thanks. I was translating the elm example somewhat literally for the sake of comparison, but fine to make the helper functions point-free.


Improves DKG and adds new functionalities

Most of this work is based on @Mahsa-Bastankhah's work.

Improves the overall workflow and make the code more efficient
Adds the resharing functionality
Adds verifiable encryption/decryption

~This work contains research-specific work (F3B) and should not be merged as-is.~
Built from https://github.com/dedis/dela/pull/230 and https://github.com/dedis/dela/pull/231.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1179 of 1312 (89.86%)  changed or added relevant lines in 6 files are covered.
14 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.9%) to 98.205%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

dkg/pedersen/types/messages.go
100
102
98.04%

dkg/pedersen/mod.go
232
279
83.15%

dkg/pedersen/handler.go
414
498
83.13%

Files with Coverage Reduction
New Missed Lines
%

dkg/pedersen/handler.go
14
83.77%

Totals

Change from base Build<PHONE_NUMBER>:
-0.9%

Covered Lines:
13623

Relevant Lines:
13872

💛  - Coveralls

Added unit tests to maintain our coverage. You can check the last few commits to see the changes.


Partners in Crime: Fix Skill Swap

This fixes the new ability's onStart function not being called for the ally of the target/user of Skill Swap.

Travis tests have failed
Hey MacChaeger,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
npm test
><EMAIL_ADDRESS>test /home/travis/build/Zarel/Pokemon-Showdown
> eslint --rulesdir=dev-tools/eslint --cache . && tsc && mocha

/home/travis/build/Zarel/Pokemon-Showdown/mods/pic/moves.js
  38:24  error  Missing space before opening brace  space-before-blocks
  52:24  error  Missing space before opening brace  space-before-blocks

✖ 2 problems (2 errors, 0 warnings)
  2 errors, 0 warnings potentially fixable with the `--fix` option.

npm ERR! Test failed.  See above for more details.

Rip didn’t save after fixing that.
Also,

[11:37:47] @macch aeger: Of course now it occurs to me that this could be way simplified if setAbility had a parameter that told it not to start the abilities

Just a general point: you've obviously needed to adapt code from pokemon.js where you have to refer to the battle object as this.battle, but in moves.js the battle is simply this.

I just made everything match the way Skill Swap already did it.

Fair enough; I fixed several versions of Skill Swap in PR #4221.


Could not find generator 'install:devise'.

Environment

Ruby 2.5.1p57
Rails 6.0.0

Current behavior
Gemfile
gem 'rails', '~> 6.0.0'
gem 'devise'
$ rails g install:devise
Running via Spring preloader in process 26034
Could not find generator 'install:devise'.
Run rails generate --help for more options.

restarting spring would solve this


kdoctor-agent keep ContainerCreating

Install steps:

helm repo add kdoctor https://kdoctor-io.github.io/kdoctor
helm repo update kdoctor
helm install kdoctor kdoctor/kdoctor     -n kdoctor --debug --create-namespace

Check status

kubectl get pod -n kdoctor
Normal   Scheduled    4m52s  default-scheduler  Successfully assigned kdoctor/kdoctor-agent-gs9t4 to k6sworker-1
Warning  FailedMount  4m51s  kubelet            MountVolume.SetUp failed for volume "config-path" : failed to sync configmap cache: timed out waiting for the condition
Normal   Pulling      4m50s  kubelet            Pulling image "ghcr.io/kdoctor-io/kdoctor-agent:v0.2.0"

@xinmans Use the kubectl get configmap -n kdoctor command to see if you can see the two configmaps kdocotr and kdoctor-app-config-template

is it pending for pulling image ghcr.io/kdoctor-io/kdoctor-agent:v0.2.0 ?
are you a china user and not able to access ghcr.io ? you could set helm option ' --set global. imageRegistryOverride=ghcr.m.daocloud.io '  to pull image from image registry in china

@xinmans Is the problem solved?

Yes, solved, thanks

close.


QUESTION: APN device tokens are in a wrong (long) format

IOS 12
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>xCode10
I think I don't understand that whole token concept.
I do a PushNotification.init(options).
On registration I receive an object { data } and data.registrationId is a very long token (+150 characters). I understand that I need a 64bit string in order to send notifications.
It looks that in Objective C the long string (probably a type of object) can be reduced to the correct string with this:  deviceToken.reduce('', {$0 + String(format: "%02X", $1)})
I also understand that when the xCode installs the app on a device, the xCode console will show the correct format of device token.
In summary:
I get kind of this: 'eSlF2WpGFnI:APA91bPCLnML1LBBG77mkBlHjrJLx-cHydupMYmrJ2HHHBzltFVeDo2ElZvjkSAQs38-y4zNGMfYaeKpNd3QMLUQfixYxhgtxIA0zGnOmsrEJucH4WhioWwJ49ato8t3EzA4YXQEfqK7'
and I need kind of this: 740f4707 bebcf74f 9b7c25d4 8e335894 5f6aa01d a5ddb387 462c7eaf 61bb78ad
Anyone can enlighten me please on how to get the correct format.
When I send message to the long one I get "BadDeviceToken".
Thank you.

Ok, confusion is clear now. My cordova push plugin is going the FCM route instead of APN. Those long registration ids are specific to FCM.

@paulincai how did you get the APN token? I'm using react-native-firebase but it also does use the FCM.

@johhansantana I am not sure what exactly you ask. APN tokens are produced by Apple while FCM tokens are produced by Google. If you use FCM, you need FCM tokens.

🤔  well, this library is telling me that the FCM token that I'm getting from react-native-firebase is invalid and which is the same format that you mentioned above. So I'm assuming that I would just need to get the APN token instead of the FCM that the react-native-firebase provides. I was wondering how did you solve this.

"this library is telling me that the FCM token that I'm getting from react-native-firebase is invalid " - somehow I feel you answer this yourself. If you use APN (node-apn) to send to IOS and to register IOS devices, you can only use FCM for Android. You should not use react-native-firebase to generate device token because they are incompatible with APN. Consider APN and FCM as gateways, if you generate a token with one, you need to send Push via the same gateway. For Android things are clear, you need to use FCM but for IOS you can use both FCM and APN. You just need to decide for one and if you opt for APN, you need to block react-native-firebase from interacting with IOS.
You either do the IOS setup (https://rnfirebase.io/#3-ios-setup) and go with Firebase or you don't do the setup and go via APN. What you decide to do client side, you need to support on your server. My suggestion, unless you have specific requirement that only APN can satisfy, better use FCM for bot IOS and Android and let go this library.

@johhansantana all ok? On the FCM I could help you with some pieces of code for Node (server side)

@johhansantana all ok? On the FCM I could help you with some pieces of code for Node (server side)

I was trying to make the apple wallet pass to update via push notification but after further reading I saw that the wallet app will send you to your API the device APN token and was able to use that. It seems to work correctly with this now.
Thank you for explaining the difference.


🎨 [UI] Improve code highlighting to support bash/cURL codes

Please describe the improvement request
Improve the Codeblock component to highlight  cURL/bash codes
Describe the solution you'd like
The prism library should apply code highlighting on all supported programming languages, especially bash/cURL
Describe alternatives you've considered if any (optional)
prism.js seem to not have support for highlighting bash codes. Any alternative will be welcomed
Does this solution have a figma design url attached to it? paste it here (optional)
Figma URL
Additional context (optional)
Some discussions around bash highlighting

@Frontend-io  @MeisterJustice  the figma url for this issue is wrong, kindly check


show plattform changes & delay

Changes:

Platform changes are displayed in red, with the old platform crossed out.

Delay is displayed:

Delay over 5min: Time is shown in red with the delay in minutes "(+x)" following it. A hover text shows the original time.
minor delays: Time is shown in orange. A hover text displays the original time and the delay in minutes "(+x)".
S-Bahn: Display time in red if delayed by more than 5 minutes.

Trains are sorted by departure/arrival time (if When=null, then by plannedWhen).

Cancelled trains are displayed correctly.

S-Bahn: Cancelled trains are displayed with the planned departure time.

Fix: Closing Door Gif is not displayed when the train is cancelled.

Fix in styles.css with missing ":".

Preparing to Display Train Remarks. (The appearance needs to be improved, therefore the code is only a

Ideas for Color Fix line:

[ ] RE should get its own color or that of IRE.
[ ] REs from DB Fern (ICE/IC mit Nahverkehrsfreigabe) need maybe a own color.
[ ] The Color from the S9 Rhein-Main is to similar to the rail replacement bus

First of all, thank you for the comitted code. Looks great already!
Showing delays is a great improvement.
There currently is an bug with the suburban.html which is constantly redirecting to departure.html
Looks like an Copy&Paste Issue here.

[ ] Fix bug

First of all, thank you for the comitted code. Looks great already!
Showing delays is a great improvement.
There curently is an bug with the suburban.html which is constantly redirecting to departure.html
Looks like an Copy&Paste Issue here.

[ ] Fix bug

Thank you for your comitted code.
Looks pretty good, alltough I may change the CSS a little bit later.
Have a nice day!

Class "tooltip" and "tooltiptext" for hovertext is missing in style.css

Please delete your Cache in Browsersettings or on Windows simply hit SHIFT + F5

Oh Right, F5 helps.
I'm also still trying to figure out the best way to display the scheduled time, because hovertexts are not useful for mobile devices.

The easiest way would probably be:
13:05
13:26 (+21)


[WIP] feat: protocol handlers

Description

Notes & open questions

Change checklist

[ ] Self-review.
[ ] Documentation updates if relevant.
[ ] Tests if relevant.

This does not work out well this way. Instead our current idea is to expose the endpoint events not as a single callback, but as an (overflowing, non-lagging) broadcast stream. This would very much simplify the composition of protocols, as users won't have to merge their event listeners into a single callback, which needs to be passed to MagicEndpointBuilder (thus before MagicEndpoint exists, leading to chicken-and-egg problems)

https://github.com/n0-computer/iroh/pull/1847 should help to improve the startup story

Closing this. Needs more thought and is not on the immediate agenda.


[AutoPR network/resource-manager] Swagger changes

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3857

Codecov Report

Merging #3313 into restapi_auto_Network-September-Release will decrease coverage by 3.58%.
The diff coverage is n/a.

@@                            Coverage Diff                             @@
##           restapi_auto_Network-September-Release    #3313      +/-   ##
==========================================================================
- Coverage                                   55.31%   51.73%   -3.59%
==========================================================================
  Files                                        9459     5884    -3575
  Lines                                      189228   152063   -37165
==========================================================================
- Hits                                       104680    78667   -26013
+ Misses                                      84548    73396   -11152

Impacted Files
Coverage Δ

...ure/mgmt/recoveryservicesbackup/models/__init__.py
51.91% <0%> (-48.09%)
:arrow_down:

azure-batch/azure/batch/models/__init__.py
52.15% <0%> (-47.85%)
:arrow_down:

...ights/azure/applicationinsights/models/__init__.py
53% <0%> (-47%)
:arrow_down:

...ure-mgmt-media/azure/mgmt/media/models/__init__.py
53.33% <0%> (-46.67%)
:arrow_down:

.../azure/mgmt/compute/v2018_06_01/models/__init__.py
53.35% <0%> (-46.65%)
:arrow_down:

.../azure/mgmt/compute/v2018_04_01/models/__init__.py
53.35% <0%> (-46.65%)
:arrow_down:

...iveservices/search/entitysearch/models/__init__.py
53.75% <0%> (-46.25%)
:arrow_down:

azure-eventgrid/azure/eventgrid/models/__init__.py
53.75% <0%> (-46.25%)
:arrow_down:

...ration/azure/mgmt/datamigration/models/__init__.py
53.89% <0%> (-46.11%)
:arrow_down:

...mgmt-monitor/azure/mgmt/monitor/models/__init__.py
54.1% <0%> (-45.9%)
:arrow_down:

... and 3679 more

Continue to review full report at Codecov.

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


New config option onlySafeImports

Proposed Changes

Add option reflection.onlySafeImports: boolean,
in case the onlySafeImports is true, all Type descriptions of types from node_modules will have plain Object as ctor.

Notes
Type.getTypes().forEach(type => type.ctor) is dangerous action, because if some Type is from node_modules and it looks like:
export class Foo {}
deleteAllTheFilesOnYourPc()

it can do some damage.
New include/exclude config options can exclude all the node_modules types, so there is an option to ignore them all.
But somebody would want to work with those types, but stay safe and tell: "No, don't import those modules in case I acidentaly do that."

Another thing we can do is check if there is some CallExpression in SourceFile statements.. for modules inside node_modules.

Can be controlled by the incluse/exclude manually.
onlySafeImports needs more feedback.


Why padded numbers are part of naming convention?

What is a reason behind advising customers to pad numbers with 00s for resource numbers? What exactly it accomplishes except complicates any sort of scripts which usually can just rely on enumeration to iterate through objects $++ but makes it more complicated with padding added. So wondering what is being accomplished with padding. And why exactly there are 2 padding zeros and not 2 or 5?

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

ID: c6dff4c3-d2d7-3825-d753-fc7338004f43
Version Independent ID: b2c190ac-1d2e-93fc-caee-d59c278f549a
Content: Recommended naming and tagging conventions - Cloud Adoption Framework
Content Source: docs/ready/azure-best-practices/naming-and-tagging.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#184260

Personally, I support that we don't use padding. Scripting will be much easier without padding 0's.

Added a note to reflect the intent of padding and the customer decision. MSFT FTEs can preview the change at https://review.docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/naming-and-tagging?branch=pr-en-us-849
As a preview for all other audiences see the below note:
The example names above and elsewhere in this document reference a three digit padding (<###>). I.E. mktg-prod-001
Padding aids in human readability and sorting of assets when those assets are managed in a configuration management databases (CMDBs), IT Asset Management tool, or traditional accounting tools. When the deployed asset is managed centrally as part of a larger inventory or portfolio of IT assets, the padding approach aligns with the interfaces those systems use to manage inventory naming.
Unfortunately, the traditional asset padding approach can prove problematic in infrastructure-as-code approaches which may iterate through assets based on a non-padded number. This approach is common during deployment or automated configuration management tasks. Those scripts would have to routinely strip the padding and convert the padded number to a real number, which slows script development and run time.
Which approach you choose to implement is a personal decision. The padding in this article is meant to illustrate the importance of using a consistent approach to inventory numbering, not which approach is superior. Before deciding on a number schema (with or without padding) evaluate which will have a bigger impact on long term operations: CMDB/asset management solutions or code-based inventory management. Then consistently follow the padding option that best fits your operational needs.


Support for Suaner Duval(SD)

Hello,
In the new functionality of version v0.2.0:
+Added choice of brands (Vaillant and Saunier Duval)
What credentials do you have to log in with, with the MiGo Link app?
How has it been integrated with Sauner Duval?

I answer myself, you have to enter the MIGO Link credentials.
Thanks for the work.


Field defined in exclude_fields_in_copy still gets copied (Wagtail 5.2.2)

Issue Summary
This is a follow-up to the issue  #10001 as I can reproduce it in Wagtail 5.2.2
@Tijani-Dia perfectly described the problem I've been having for ages, so I'll copy the steps from #10001 with a few unimportant changes:
When I copy a page in the admin, some fields get copied even if added to the exclude_fields_in_copy list.
Steps to Reproduce

Start a new project with wagtail start myproject
Edit models.py as follows:

from django.db import models

from wagtail.models import Page
from wagtail.admin.panels import FieldPanel

class HomePage(Page):
    pass

class TestPage(Page):
    name = models.CharField(max_length=255, default="name")

    content_panels = Page.content_panels + [FieldPanel("name")]

    exclude_fields_in_copy = ["name"]

Create and run migrations, create superuser, run server

./manage.py makemigrations
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver

Create and publish a TestPage in the admin UI and set any value other than the default one for the name field e.g original:

Copy the page (without ticking the Publish copied page and Alias checkboxes):

Go to the edit view for the copied page: the name value is copied from the original page

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

Since I've added the name field in the exclude_fields_in_copy list, I'd expect the copied page to have the default value for that field.

This issue is related to #10922 where the problem occurs while publishing the copied page with a unique and hidden uuid field, that should be auto-generated but somehow makes it into the copy page.

It reproduces in Wagtail 5.2.2. I was trying to reproduce it in 4.1, but everything is fine there

It works fine when Publish copied page checkbox is ticked

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: yes

Technical details

Python version: 3.11.5
Django version: 5.0.1
Wagtail version: 5.2.2
Browser version: Firefox 121

Can confirm this issue exists I have been able to reproduce with the steps provided.


HTTP_X_3SCALE_PROXY_SECRET_TOKEN

[provide a description of the issue]
Per the feature, it says that "Enables you to block any direct developer requests to your API backend; each 3scale API gateway call to your API backend contains a request header called X-3scale-proxy-secret-token. The value of this header can be set by you here. It's up to you ensure your backend only allows calls with this secret header."
No HTTP_X_3SCALE_PROXY_SECRET_TOKEN is being added/created while using self-managed gateway deployed in Openshift to send the request to the backend.
Version
OpenShift Master:
v3.9.27
Kubernetes Master:
v1.9.1+a0ce1bc657
OpenShift Web Console:
v3.9.27
APICAST
3scale-amp25/apicast-gateway
Steps To Reproduce

[step 1 (json configuration file, if applies)]
[step 2 (curl commands to reproduce, if applies)]
[step 3]

Current Result
Token not being created
Expected Result
Secret token
Additional Information

[Gist with minimal reproducible configuration, see guidelines for contributing for details]
[Gist with nginx log output]

@mikz Have you heard of this before as a known issue? I m not sure if it has to do something with the compatibility of openshift vs apicast version in this case

Can you point APIcast to https://echo-api.3scale.net and send a curl -v output?