Conversion to ONNX and TFJS fails.

Has anyone been able to convert the default model to either ONNX or TFJS ? I have tried but mostly it seems to be an issue of unsupported operators. I am attaching the output that I get for each of them.
Command line for TFJS:
tensorflowjs_converter --input_format=tf_saved_model --output_format=tfjs_graph_model <path-to-default-saved-model> <path-to-new-folder>
Output for the above:
2022-10-10 15:18:45.017186: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-10-10 15:18:45.161669: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2022-10-10 15:18:45.657095: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2022-10-10 15:18:45.657174: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2022-10-10 15:18:45.657185: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2022-10-10 15:18:55.993704: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusolver.so.11'; dlerror: libcusolver.so.11: cannot open shared object file: No such file or directory
2022-10-10 15:18:55.994301: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory
2022-10-10 15:18:55.994318: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2022-10-10 15:18:55.994979: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
WARNING:tensorflow:Issue encountered when serializing global_step.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing global_step.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing trainable_variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing trainable_variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
2022-10-10 15:18:56.598822: I tensorflow/core/grappler/devices.cc:66] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 8
2022-10-10 15:18:56.599119: I tensorflow/core/grappler/clusters/single_machine.cc:358] Starting new session
2022-10-10 15:18:57.721903: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2022-10-10 15:18:57.757114: E tensorflow/core/grappler/grappler_item_builder.cc:670] Init node head/predictions/class_string_lookup/table_init/LookupTableImportV2 doesn't exist in graph
WARNING:tensorflow:From /home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py:398: load (from tensorflow.python.saved_model.loader_impl) is deprecated and will be removed in a future version.
Instructions for updating:
This function will only be available through the v1 compatibility library as tf.compat.v1.saved_model.loader.load or tf.compat.v1.saved_model.load. There will be a new function for importing SavedModels in Tensorflow 2.0.
WARNING:tensorflow:From /home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py:398: load (from tensorflow.python.saved_model.loader_impl) is deprecated and will be removed in a future version.
Instructions for updating:
This function will only be available through the v1 compatibility library as tf.compat.v1.saved_model.loader.load or tf.compat.v1.saved_model.load. There will be a new function for importing SavedModels in Tensorflow 2.0.
2022-10-10 15:18:57.904875: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled
2022-10-10 15:18:57.917561: W tensorflow/core/common_runtime/forward_type_inference.cc:332] Type inference failed. This indicates an invalid graph that escaped type checking. Error message: INVALID_ARGUMENT: expected compatible input types, but input 1:
type_id: TFT_OPTIONAL
args {
  type_id: TFT_PRODUCT
  args {
    type_id: TFT_TENSOR
    args {
      type_id: TFT_INT64
    }
  }
}
 is neither a subtype nor a supertype of the combined inputs preceding it:
type_id: TFT_OPTIONAL
args {
  type_id: TFT_PRODUCT
  args {
    type_id: TFT_TENSOR
    args {
      type_id: TFT_INT32
    }
  }
}

	while inferring type of node 'dnn/zero_fraction/cond/output/_44'
WARNING:tensorflow:From /home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py:402: convert_variables_to_constants (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.convert_variables_to_constants`
WARNING:tensorflow:From /home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py:402: convert_variables_to_constants (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.convert_variables_to_constants`
WARNING:tensorflow:From /home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py:936: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.extract_sub_graph`
WARNING:tensorflow:From /home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py:936: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.extract_sub_graph`
Traceback (most recent call last):
  File "/home/hari/miniconda3/envs/srclangdetect/bin/tensorflowjs_converter", line 8, in <module>
    sys.exit(pip_main())
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/converter.py", line 827, in pip_main
    main([' '.join(sys.argv[1:])])
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/converter.py", line 831, in main
    convert(argv[0].split(' '))
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/converter.py", line 817, in convert
    _dispatch_converter(input_format, output_format, args, quantization_dtype_map,
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/converter.py", line 528, in _dispatch_converter
    tf_saved_model_conversion_v2.convert_tf_saved_model(
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 809, in convert_tf_saved_model
    _convert_tf_saved_model(output_dir, saved_model_dir=saved_model_dir,
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 699, in _convert_tf_saved_model
    optimize_graph(frozen_graph, signature,
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 157, in optimize_graph
    raise ValueError('Unsupported Ops in the model before optimization\n' +
ValueError: Unsupported Ops in the model before optimization
OptionalNone, ReadVariableOp, OptionalFromValue

Command line for ONNX:
python -m tf2onnx.convert --saved-model <path-to-model-directory> --output guesslang.onnx --opset 11 --verbose
Output for the above:
2022-10-10 15:22:09.947615: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-10-10 15:22:10.093875: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2022-10-10 15:22:10.584761: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2022-10-10 15:22:10.584838: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2022-10-10 15:22:10.584845: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/runpy.py:127: RuntimeWarning: 'tf2onnx.convert' found in sys.modules after import of package 'tf2onnx', but prior to execution of 'tf2onnx.convert'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
2022-10-10 15:22:20.974883: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusolver.so.11'; dlerror: libcusolver.so.11: cannot open shared object file: No such file or directory
2022-10-10 15:22:20.975415: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory
2022-10-10 15:22:20.975432: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2022-10-10 15:22:20.976057: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-10-10 15:22:21,027 - WARNING - tf2onnx.tf_loader: '--tag' not specified for saved_model. Using --tag serve
2022-10-10 15:22:21,588 - INFO - tf2onnx.tf_loader: Signatures found in model: [serving_default,classification,predict].
2022-10-10 15:22:21,588 - WARNING - tf2onnx.tf_loader: '--signature_def' not specified, using first signature: serving_default
2022-10-10 15:22:21,588 - INFO - tf2onnx.tf_loader: Output names: ['classes', 'scores']
WARNING:tensorflow:Issue encountered when serializing global_step.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
2022-10-10 15:22:21,601 - WARNING - tensorflow: Issue encountered when serializing global_step.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
2022-10-10 15:22:21,601 - WARNING - tensorflow: Issue encountered when serializing variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
WARNING:tensorflow:Issue encountered when serializing trainable_variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
2022-10-10 15:22:21,602 - WARNING - tensorflow: Issue encountered when serializing trainable_variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
This operation is not supported when eager execution is enabled.
2022-10-10 15:22:21.620369: I tensorflow/core/grappler/devices.cc:66] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 8
2022-10-10 15:22:21.620657: I tensorflow/core/grappler/clusters/single_machine.cc:358] Starting new session
2022-10-10 15:22:22.735793: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2022-10-10 15:22:22.771439: E tensorflow/core/grappler/grappler_item_builder.cc:670] Init node head/predictions/class_string_lookup/table_init/LookupTableImportV2 doesn't exist in graph
Traceback (most recent call last):
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/convert.py", line 706, in <module>
    main()
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/convert.py", line 238, in main
    graph_def, inputs, outputs, initialized_tables, tensors_to_rename = tf_loader.from_saved_model(
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/tf_loader.py", line 614, in from_saved_model
    _from_saved_model_v2(model_path, input_names, output_names,
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/tf_loader.py", line 598, in _from_saved_model_v2
    frozen_graph, initialized_tables = from_trackable(imported, concrete_func, inputs, outputs, large_model)
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/tf_loader.py", line 225, in from_trackable
    raise e
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/tf_loader.py", line 221, in from_trackable
    frozen_graph = from_function(concrete_func, inputs, outputs, large_model)
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/tf_loader.py", line 280, in from_function
    raise e
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tf2onnx/tf_loader.py", line 273, in from_function
    frozen_func = convert_variables_to_constants_v2(func, lower_control_flow=False, aggressive_inlining=True)
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py", line 1154, in convert_variables_to_constants_v2
    converter_data = _FunctionConverterDataInEager(
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py", line 817, in __init__
    graph_def = _run_inline_graph_optimization(func, lower_control_flow,
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py", line 1052, in _run_inline_graph_optimization
    return tf_optimizer.OptimizeGraph(config, meta_graph)
  File "/home/hari/miniconda3/envs/srclangdetect/lib/python3.8/site-packages/tensorflow/python/grappler/tf_optimizer.py", line 65, in OptimizeGraph
    out_graph = tf_opt.TF_OptimizeGraph(cluster.tf_cluster,
ValueError: Failed to import metagraph, check error log for more info.

Environment:
absl-py==1.2.0
astunparse==1.6.3
cachetools==5.2.0
certifi @ file:///croot/certifi_1665076670883/work/certifi
charset-normalizer==2.1.1
chex==0.1.5
coloredlogs==15.0.1
commonmark==0.9.1
contourpy==1.0.5
cycler==0.11.0
dm-tree==0.1.7
etils==0.8.0
flatbuffers==22.9.24
flax==0.6.1
fonttools==4.37.4
gast==0.4.0
google-auth==2.12.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.34.1
guesslang==2.2.1
h5py==3.1.0
humanfriendly==10.0
idna==3.4
importlib-metadata==5.0.0
importlib-resources==5.10.0
jax==0.3.21
jaxlib==0.3.20
keras==2.10.0
keras-nightly==2.5.0.dev2021032900
Keras-Preprocessing==1.1.2
kiwisolver==1.4.4
libclang==14.0.6
Markdown==3.4.1
MarkupSafe==2.1.1
matplotlib==3.6.1
mpmath==1.2.1
msgpack==1.0.4
numpy==1.23.3
oauthlib==3.2.1
onnx==1.12.0
onnxruntime==1.12.1
opt-einsum==3.3.0
optax==0.1.3
packaging==20.9
Pillow==9.2.0
protobuf==3.19.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
Pygments==2.13.0
pyparsing==3.0.9
python-dateutil==2.8.2
PyYAML==6.0
requests==2.28.1
requests-oauthlib==1.3.1
rich==12.6.0
rsa==4.9
scipy==1.9.2
six==1.15.0
sympy==1.11.1
tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow==2.10.0
tensorflow-estimator==2.10.0
tensorflow-hub==0.12.0
tensorflow-io-gcs-filesystem==0.27.0
tensorflowjs==3.21.0
termcolor==1.1.0
tf2onnx==1.12.1
toolz==0.12.0
typing_extensions==4.4.0
urllib3==1.26.12
Werkzeug==2.2.2
wrapt==1.12.1
zipp==3.9.0

For tfjs, the unsupported ops may actually be part of the training half of the model and not be needed for inference. We were able to convert the model with --skip_op_check and then perform inference using the resulting model.
tensorflowjs_converter --skip_op_check --input_format=tf_saved_model models/saved_model  models/model-tfjs

Hi @NilSet thanks for the information. Will check the same and get back.

Hi @NilSet  I can confirm that I was able to convert the model using the --skip_op_check option and also load the model using loadGraphModel from the TFJS SDK. Thanks for the help.

@harishankar-gopalan could you share onnx model?


Visual Studio build ran for 0.8 minutes but exited with Error Code 1. How can I rectify this? URGENT.

-------Please read and delete this text before creating the issue-------
To report a good issue, please verify that you validate these points:

[ ] you have read the documentation about command line options and advanced use cases
[ ] upgrade and test with the last version
[ ] specify the version you are using
[ ] include steps you followed to reproduce the problem
[ ] if the problem occurs when using a git-tfs command, please provide the output of the command when using the --debug command line option (providing a gist could be a clever idea ;))

And don't forget:

The fastest way to get an issue fixed is to submit a PR that fixes it.

The slowest way to get it fixed is to hope someone else will fix it.

6.9 minutes...Getting there! :)

Still exit code 1

Waiting!

I don't understand what you want. Could you be clearer?


Unmentioned but critical LayerNorm

To achieve comparable result as the original paper. LayerNorm is applied to the feature before NF. This is never mentioned in the paper and the usage is very tricky (but this is the only way works for me):

resnet18 and wide-resnet-50: use trainable LayerNorm
CaiT and DeiT: use the final norm from the pre-trained model and fix it's affine parameters

I measured the performances of models without LayerNorm parts. In both renset18 and wide-resnet50, AUROC was quite similar, sometimes even better the original ones. Also DeiT showed comparable performances. (lower as 0.03~0.05) However in CaiT, the loss was crazily high and AUROC was 0.5! I can't understand why these models show different results depending on Layer Normalization.

I think the elementwise_affine in the layernorm of ResNets should be false. In the transformers, the gradients of additional normalizations are frozen. Removing elementwise-affine provides much more stable training than the one with the affine.

The red one is w/o elementwise-affine.

use x = x.flatten(2).transpose(1, 2) to reshape the featuremap BCHW -->B,N,C,thus layerNorm don't depend the input size

maybe use BN/LN after conv2d /relu work

Well, after learning more about transformers, I realize that adding LayerNorm to intermediate output feature maps is a very common way, such as applying transformers as the backbone in semantic segmentation (https://github.com/SwinTransformer/Swin-Transformer-Semantic-Segmentation/blob/87e6f90577435c94f3e92c7db1d36edc234d91f6/mmseg/models/backbones/swin_transformer.py#L620). So I guess that's why the paper never mentioned.
And for resnet, maybe LayerNorm is not necessary as pointed out by @cytotoxicity8 .


Upgrade Luna Streaming to <IP_ADDRESS>.0.14

Upgraded to <IP_ADDRESS>.0.14
Reverted https://github.com/datastax/pulsar-helm-chart/pull/245 since now the base distro contains the  pulsar-openid-connect-plugin jar

@michaeljmarshall PTAL

Close in favor of https://github.com/datastax/pulsar-helm-chart/pull/257


INTLY-4126: Put versioning in appropriate place in heading

Jira Ref: https://issues.jboss.org/browse/INTLY-4126

@pwright


Hide toolbar when microphone/camera is MUTED

Description of the new feature / enhancement
Video Conference Mute
Option "Hide toolbar when  camera or microphone is muted" is needed.
Scenario when this would be used?
"Hide toolbar when both ... are unmuted" is supported. But for the privacy issue, some's camera and microphone are always off. So they actually need get noticed/warned when the camera or microphone is unmuted.
And that is more intuitive: a bar (notification) is shown when something is turned on.
Supporting information
No response

Related to #7262

Related to #7262
”Hide toolbar when both camera and microphone are muted“ is not logically right. “Show mute panel when either camera or microphone is unmuted" is really what I meant.

I think the status should be more of a temporary toaster notification than persistent. I don't mind hitting the shortcut a couple times to make sure catch the status, but persistently blocking part of the screen is pretty unworkable.

Is there anywhere we can upvote this for implementation? my laptop has a visual indicator (a light on the keyboard) when the microphone is muted. Hence, this feature is redundant for me. The temporary notification suggested by @KyleStay is also a great approach. If they want to make it persistent it could be in the taskbar notification area instead of a floating window.

Duplicate #14278

I see how my suggestion #14643 was marked as a duplicate of this issue, but I wish for something much simpler then this. It should be possible to select "Hidden" or "Invisible" Option under the "Toolbar position" Drop down. A floating toolbar always hides something, no matter where it's placed. If it's not possible to have a status in the System Tray, I'd rather hide it.

I like the idea to totally hide the toolbar or move it to tray.

I agree on the idea of moving it to the taskbar, or having it be a temporary notification.

This is such an annoyance that it makes me not use the feature.

It's really annoying that there's no way to hide it. Can't even move it out of the screen.
Please, add a capability to hide the overlay toolbar window!

Hi, I have modified it by auto hide toolbar after changed state 0.5 seconds.
PowerToys hide toolbar Video conference mute

@quyenvsp That's cool. ;) Community PRs are welcome if you would like to help out. Just let us know. 😄

@quyenvsp That's cool. ;) Community PRs are welcome if you would like to help out. Just let us know. 😄

I just quick fix for it work with my case. Better let PowerToys team official do it, have option in Setting is good.
Also for build PowerToys tool need install Visual Studio and other SDK, about ~20Gb... Sorry I will not install it 😄

I don't use this utility for conferencing, its purpose for me is to keep things private. I need to see a notification (toolbar) that the microphone is active and I need to remember to turn it off. I would actually rename this utility to "Quick microphone/camera off" or something like that. And let the user decide where he will use this functionality. For video conferencing or as a reminder of microphone/camera activity on any other occasions. After all, this is exactly what Windows is missing - a quick turn off/on microphone with a visual response!

I don't like this feature. Would like to have it default to not active.

I'd also like to see a change to this overlay. If it needs to be persistent for some reason, maybe it could be moved to a couple of system tray icons?

Yeah, this will be a blocker for me, but I sincerely enhancements can be made here as its a much nicer implementation than any other utilities ive seen

Could have an options to just disable the toolbar since some users have an mic with a LED indicating when it is active.

Please add a setting to hide the toolbar on mute. Very annoying for people who like to have their mic muted by default.

I like the idea to totally hide the toolbar or move it to tray.

+1 to be able to hide the toolbar/overlay

@quyenvsp That's cool. ;) Community PRs are welcome if you would like to help out. Just let us know. 😄

I just quick fix for it work with my case. Better let PowerToys team official do it, have option in Setting is good. Also for build PowerToys tool need install Visual Studio and other SDK, about ~20Gb... Sorry I will not install it 😄

@quyenvsp I assume you have the code change available, can you share it so that someone else can create the PR or maybe create the PR without using Visual Studio?

I turned off the feature, very uncomfortable

I turned off the feature, very uncomfortable

This feature would be really nice to have.
Plus there's an issue with translation. French translation states the opposite of the actual behavior.

@franky920920 I see you are the only one tagged as "Contributor" in this thread. I have raised a PR for this issue and was asked to contact "Core contributors" first. I am now sure, who the Core contributors are.
If you know someone who is one could you please tag them here, or if you are one could you please take a look at my PR and see if this fixes the issue

cc @crutkas

Hey @crutkas, could you please take a look at my PR. It addresses #14123 (this issue)& #18548. I wanted to know if I am missing anything that's required in a PR for this repo

It would be nice to add an ability to completely disable the toolbar!
The current toolbar is a bit invasive: large and covering something no matter which position you pick.
Furthermore:

some software (e.g. Teams) already shows you if the microphone is muted
if you have the conference mute functionality enable the toolbar get activated even when you mute the microphone through another tool (e.g. a Stream Deck or special keyboard shortcut when docked)
the only way to get rid of the toolbar when you are not relying on it (e.g. previous point) is to close PowerToys and restarting it as admin (and vice versa when you then need to use it)

It would be nice to add an ability to completely disable the toolbar!
The current toolbar is a bit invasive: large and covering something no matter which position you pick.
Furthermore:

some software (e.g. Teams) already shows you if the microphone is muted
if you have the conference mute functionality enable the toolbar get activated even when you mute the microphone through another tool (e.g. a Stream Deck or special keyboard shortcut when docked)
the only way to get rid of the toolbar when you are not relying on it (e.g. previous point) is to close Powertoys and restarting it as admin (and vice versa when you then need to use it)

Fixed in the latest version. Please update PowerToys.

PowerToys hide toolbar Video conference mute

PowerToys hide toolbar Video conference mute
Is still the only thing that actually works for me hiding the toolbar.

PowerToys hide toolbar Video conference mute

PowerToys hide toolbar Video conference mute
Is still the only thing that actually works for me hiding the toolbar.

I have apply modify for latest version 0.67.1, VCM now moving to legacy mode so this modify will stable more.
Not understand why Official still not have "Auto hidden", hope it will add soon.

its very annoying to have this mic navbar on my screen all time,
because my mic is muted all day when i'm not using it ,
its so freaking annoying af not giving us full control of how we want to use it,

I am trying learn and edit Powertoys code, will create MR when done. Current you can patch any version with follow command:
sed -b -i 's/\x00\x00\x84\xDB\x0F\x85\xAD\xFE\xFF\xFF\x48\x81\xFF\xF4\x01\x00/\x00\x00\x84\xDB\xEB\x04\xAD\xFE\xFF\xFF\x48\x81\xFF\xF4\x01\x00/1' PowerToys.VideoConferenceModule.dll

I am working on it and will create MR soon, meanwhile you can resolve it by edit settings.json

Press Windows + R and run follow location:

%LOCALAPPDATA%\Microsoft\PowerToys\Video Conference

Open settings.json file, find toolbar_hide and edit value to After timeout
Result:

"toolbar_hide":{"value":"After timeout"}}

Done.

I am working on it and will create MR soon, meanwhile you can resolve it by edit settings.json

Press Windows + R and run follow location:

%LOCALAPPDATA%\Microsoft\PowerToys\Video Conference

Open settings.json file, find toolbar_hide and edit value to After timeout
Result:

"toolbar_hide":{"value":"After timeout"}}

Done.

can you advise on how to change the timeout value?  Looking to increase by a few seconds

can you advise on how to change the timeout value? Looking to increase by a few seconds

@gchacks
You can use any hex editor edit C:\Program Files\PowerToys\PowerToys.VideoConferenceModule.dll
Search: FF F4 01 00 00 0F 86
Then replace F4 01 with your value.
Default it is 500 milliseconds (hex 1F4) > reverse F4 01
Example hide after 2 seconds = 2000 millseconds = hex 7D0 > reverse D0 07
Result: FF D0 07 00 00 0F 86


Manifest contains invalid URL for externally_connectable

See manifest: https://github.com/WebOfTrust/signify-browser-extension/blob/70d4f05e87d4c4d12beb6a9376505d1ff948945f/manifest.json#L42
The URL specified <all_urls> is not valid according to chrome: https://developer.chrome.com/docs/extensions/reference/manifest/externally-connectable

I assume an extension with that manifest will never be approved by chrome store. In addition, as I am sure most of the readers here are aware, this feature is not available in firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1319168.
Proposed solution
Because of these two issues, I suggest to not use this feature. We can just pass message to the content script using window.postMessage. This way, you can also omit the browser check in polaris-web https://github.com/WebOfTrust/polaris-web/blob/697eb6ad276fa6c48ed351c6d5be170514a9d333/index.js#L134
@rodolfomiranda @HunnySajid @2byrds What do you think?

Hopefully in the future it might be possible to dynamically add urls to "externally_connectable".

During discussion with @rodolfomiranda @2byrds @HunnySajid we agreed that it is best to replace externally_connectable with a window.postMessage based pattern.

Quick update:  I believe @HunnySajid has tested with @lenkan PR https://github.com/WebOfTrust/polaris-web/pull/11 and would like to transition it to being accepted and merged soon so that both extensions are working with the same polaris-web.

We can close this as externally_connectable is removed from extension. All communication is being done with window.postMessage


Feature Request: Bedside Location import

Would like to see the ability to add the Bedside location option to MUT. With the deployment of iOS devices in Healthcare this would speed up deployment if we can put in all the information at one time, instead of having to go back to each device one by one.

Is Bedside not just an extension attribute that you can do via EA_ ?

@staze, it is an Extension attribute but it also ties into the HealthCare listener.
https://www.jamf.com/resources/product-documentation/healthcare-listener-installation-and-configuration-guide/
Which is why I think having it added to MUT would be a useful tool.

Hello @Burnhamt256,
It does look like the HealthCare listener uses Extension Attributes. "Use the Field Mapping options to map a field from the ADT message to an attribute of inventory information."
What @staze was getting at, is that you can already edit Extension Attributes with The MUT, by adding custom columns to your CSV. The heading of the column would be "EA_" and then the id of the EA, like EA_6 or EA_56.
https://github.com/jamf/mut/blob/main/README.md#updating-extension-attributes
thanks,
chris


Recordset session

Recordset grabs the session before the reference is fetched to make sure there is a session or not. This helps in cases where recordset may be viewable as a public page.
This PR resolves issue #763. Assigning to @shinyichen and mentioning @howdyjessie.

This looks good to me. The changes correspond with changes made for PR #770.


What happens when you click "yes" to the notification that runs npm install on the target server?

How can i replicate it in the azure portal?

Hi @shanberg1
In our extension, we generate a .deployment file that sets the config to include this setting: SCM_DO_BUILD_DURING_DEPLOYMENT = true.  The target server reads that file and then knows to run the build command (dotnet build/npm install)
If you want to replicate that on the Portal, you can edit the App Setting manually.  This is explained here: https://github.com/projectkudu/kudu/wiki/Configurable-settings#enabledisable-build-actions

Thanks!

Sorry, one more question.  The


state lost on the client side

I had an issue when I setup up next-redux-saga
My page renders properly on Server side and correct html is sent to client.
The issue here is on client side, my page renders again and the state on client side seems to be different from that of server.
I fixed that when I specified preloadedState.
(I was not using an preloadedState for my app as it is optional. the reducers initiate my store)
It is mentioned here and here but I think it should be mentioned in your doc too.

in the sample you are giving in this repository
In next-redux-saga/test/store/configure-store.js,
try to remove initialState from the createStore function.
You will get an error !
in this comment Dan Abramov said: You can pass the whole initial state tree as a second argument when creating the store. This is useful for hydrating persisted data or data received from the server.
People who are coming from the SPA world know that initialState is optional and they can use the reducers to initiate the store. So they can be confused when they get that error, specially that the error is not explicit
I suggest to specify this in the doc !

@arfa - I will update the docs. Thanks for pointing that out.


Add contact links in footer

in footer adding github linkdin and gmail incon with links
assign this to me under gssoc ext and hacktoberfest

Currently we don't want to any change in the UI of landing page, go through our main project https://vinay-khanagavi.github.io/Cyberbear.github.io/
Join the discord server for guidance: https://discord.gg/wFWtpVmB


LDB Utility based in ArangoDB RocksDB engine

Hi,
I'm trying to recover a database that uses RocksDB engine, and I found a Repairer Tool but the problems is that RocksDBEngine is an specific implementation, and I have problems to integrate the comparer:
PS D:\Utils\rocksdb\build\tools\Debug> .\ldb.exe repair --db=.\ArangoDB\engine-rocksdb Failed: Invalid argument: leveldb.BytewiseComparator: does not match existing comparator RocksDBVPackComparator
And my porpose is trying to generate an LDB utility from ArangoDB base code. I think that would be useful, because this problem could be common and there is no a fix or workaround tool. The related Issue is 12898
BR.

Thanks for the suggestion.
The product management is aware of this and the request is already tracked in the internal tickets APM-80 and APM-82.

Is there any update about this? We have encountered the same issue of #12898, but dumping as suggested in that issue gives us the aforementioned "does not match existing comparator RocksDBVPackComparator" error, so we're stuck without ability to recover any data from our corrupted db instance.
Are ArangoDB's costumers left with a "you should have made backups more frequently" in the case of misbehaving/faulty storage?


Batch: pack DPIC to reduce sync times

We pack DPIC of DifftestBundles on Hardware and unpack it in Software. So tens of DPIC called times will be reduced to one, which reduce sync times in platform such as palladium.
It can speed up full-difftest of XiangShan from 0.23MHz to 0.29MHz with GlobalEnable,Squash and Gfifo(Non-block) in Palladium. Without Gfifo, it can speed up from 0.025 MHz to 0.11MHz.
Difftest cycle delayed for DifftestBundles to collect valid bundles in bundleNum cycles, which cause delayed comparision result.
BatchInterval and BatchFinish are appended to infoVec to seperate DPIC packed for different Cycle. Other elements contains BundleType and BundleLen to help unpack DataVec.
Now we set maximum data byte packed as 3900, and maximum info byte packed as 90, because Palladium limits total bytes of gfifo param should less than 4000.
We add --max-num-width verilator args to increase bit width limits. See related issue https://github.com/verilator/verilator/issues/2082
For misalignment of struct member, we add packed attribute to struct declaration so all member will be aligned by byte, which helps use memcpy for DPIC.
Note: When run full-difftest in XiangShan with Batch mode, it is possible to contains only one cycle DPICs each time for larger possible maximum bytes each cycle. So diffStateSelect should also be open for VCS and Palladium

For Batch, we add abstract class DPICBase for common methods and template. DPIC/DPICBatch only need to override little logic to reuse it.
For DPIC, we seperate io and control, because both Single/Batch will use same control interface, but different io interface. We don't need to declare extra bundle for that.


cmake: fix DEPENDS issues for kobject hash targets

Fixes: #42184
This commit fixes dependency issues related to kobject hash generation.
Absolute path is ensured in cases where OUTPUT was provided with
absolute path, as ${CMAKE_CURRENT_BINARY_DIR}.
DEPENDS referring to same file has been updated to also use
${CMAKE_CURRENT_BINARY_DIR} to ensure they reference identical
locations.
The custom command renaming sections in kobject_hash.o and creating
kobject_hash_renamed.o has been updated to depends on the target objects
of kobj_hash_output_lib instead of the library itself.
This is needed because kobj_hash_output_lib is not a real library, and
thus no library is updated when this target rebuilds.
Instead the dependency must be on the object files created by
kobj_hash_outplut_lib. This ensures that when object files gets rebuilt
then the section renaming will also take place.
Signed-off-by: Torsten Rasmussen<EMAIL_ADDRESS>

Note, this PR only concerns the rebuilding issue caused by improper dependencies in CMake.
It doesn't address any run time issues that are a result of missing kernel dynamic allocation feature, see https://github.com/zephyrproject-rtos/zephyr/issues/42184#issuecomment-1023206505 and https://github.com/zephyrproject-rtos/zephyr/issues/40686#issuecomment-979931876

@stephanosio both issues are fixed now.
Dependency to the object library itself has been readded in addition to the object files.
This helps the Makefile generator to setup a correct dependency for first run when the object files are missing.
Later, when the object files are present, the dependency to those ensures the custom commands are properly re-executed when said objects changes (are rebuilt).


Improve example and documentation

Thanks to bringing gsap to reactnative, its refreshing compare to the other animation solution on rn.
I was wondering if you can push more little demo and documentation about different user case :

animation on different Properties like backgroundColor, opacity
animation on different Elements like View, Text, etc ..
write if there is any restriction or important performance point to considerate

Thanks in advance :)

Yes I am thinking to do a separate ReactNative App with examples


Require PHP 8.1 and use features

A couple somewhat tangential changes:

Switched to using a custom error handler instead of the @ operator when calling pcntl_signal in StreamSelectDriver.
Removed the fiber check in the constructor of AbstractDriver, since the file won't parse in PHP versions below 8.1, it seemed pointless to retain it.

👍 , everything I'm doing with fibers is 8.1+


Nearby: Some pins disappear after switching apps

... even though I didn't change location (using FakeGPS).
Observed on main branch at 96b2608eb11bbb3547c5b36a851beef90282d3a7, but might have started earlier. git bisect will most probably help.
https://github.com/commons-app/apps-android-commons/assets/99590/576a469c-ec87-4a3e-ab08-a94f1143c611

I think this issue is related to that configuration change issue that I am currently working on in my other PRs , can you assign this to me @nicolas-raoul

Did you find out where is the problem? If not then please find it first :)

I think it is fine to get assigned before starting to investigate. :-)

Yes, you are right. But what I think is, that we should first reproduce the issue and then have a scenario ahead of how a particular issue will be solved.
: )

Yes, being able to reproduce can probably be considered a minimum. Different projects have different rules/habits though. 🙂

Well yeah 🙂

@nicolas-raoul I examined the issue well and I was able to reproduce it as you can see below
https://github.com/commons-app/apps-android-commons/assets/126143257/1ededad1-72d1-4796-8ec2-fd6db5266087
on deep examination, I found out that this issue is not of some pins disappearing but rather extra pins loading when the view is created, which is because of a duplicate call for performMapReadyActions()  in onViewCreated

It calls performMapReadyActions() but also onResume() (even if it doesn't call onResume(), it will get called anyways because it's a lifecycle event) and onResume also calls the startMap() which calls performMapReadyActions()

Due to this repeated call, an extra number of pins are loaded (which could have been otherwise loaded when recentering the map and searching the area), but when you switch apps only onResume is getting called (as it should be) and onViewCreated so the performMapReadyActions() is not called twice which gives us the impression that some pins have disappeared (which is not really the case 😅 )

Working fine now.


feat(tcgc): provide origin of SdkClientType

Clear and concise description of the problem
An SdkClientType can derive from either a namespce or an operation group. Some languages (like csharp) have different processing logic for those two kinds. We need TCGC to provide that metadata somewhere from SdkClientType.
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Can you explain this more clearly @archerzz? Are you tryign to determine whether a client is a top-level client? I'm not sure what you mean if a client is derived from an "operation group"

Can you explain this more clearly @archerzz? Are you tryign to determine whether a client is a top-level client? I'm not sure what you mean if a client is derived from an "operation group"

@iscai-msft sort of. Here is an example. In autorest.csharp, we have a test case which defines a sub namespace: https://github.com/Azure/autorest.csharp/blob/feature/v3/test/UnbrandedProjects/Platform-OpenAI-TypeSpec/audio/operations.tsp#L11
namespace OpenAI;
@route("/audio")
namespace Audio {

And in typespec, it's parsed as an SdkOperatoinGroup (I'm not clear of the magic here, but it happens).

So, I think we should have similar info in TCGC.

For Java, we will also need the groupPath info to build the operation group's name.

final solution: provide parent info in SdkClientType and emitter could use the hierarchal client's name to know the path


⚠ Bofrost.de has degraded performance

In 281058b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1328 ms

Resolved: Bofrost.de performance has improved in 08e887e after 6 minutes.


android having problem when i am using framelayout for fragment youtube player

i have this error out of unknown
please note that i discard all views on my xml and i am getting this error over and over again even of the xml having just framelayout to display youtube fragment
YouTubeAndroidPlayerAPI: YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is obscured by com.google.android.youtube.player.YouTubePlayerView{1aa23167 V.E..... ........ 0,0-1080,607}. YouTubePlayerView is completely covered, with the distance in px between each edge of the obscuring view and the YouTubePlayerView being: left: 0, top: 0, right: 0, bottom: 0..
please help me it happend to me in two fragment and i am discarding all xml views i just put framelayout

Have you found an answer to your question? I am not seeing the connection to api-client. Please include more details and a code snippet if you are still having a problem.


Fix macro redefinition warning.

This pull request fixes compiler warning about NOMINMAX macro redefinition under Windows.

Merged. Thanks for the heads up.


[ci] Support Running Redis with Catnip

Description
This PR introduces required changes to enable one to run Redis over catnip with demikernel_ci.py.

Bypassing review as this PR concerns improvements on the CI.


[BUG] Limited API: generate_type_import_call() uses opaque type PyTypeObject

Describe the bug
The generate_type_import_call methods includes calls to sizeof(PyTypeObject) that results in compilation failures if the limited API is enabled - https://github.com/cython/cython/blob/d455d51bf31379f47c074e40517e24857d4d9cc0/Cython/Compiler/ModuleNode.py#L3859
Specifically, you get:
error: invalid application of ‘sizeof’ to incomplete type ‘PyTypeObject’ {aka ‘_typeobject’}
 3076 |   sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_0(PyTypeObject),
      |   ^~~~~~~~~~~~~~~~~~~~

And:
error: invalid application of ‘__alignof__’ to incomplete type ‘PyTypeObject’ {aka ‘_typeobject’}
 3076 |   sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_0(PyTypeObject),

The generated code is:
 __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_0(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_0(PyTypeObject), __Pyx_ImportType_CheckSize_Warn_3_0_0);
I'm confused by this code in general because PyTypeObject and PyType_Type are directly available in the limited API, so it's not clear to me why it's necessary to call __Pyx_ImportType_3_0_0 in the first place.
Code to reproduce the behaviour:
No response
Expected behaviour
No response
OS
No response
Python version
No response
Cython version
No response
Additional context
No response

This feels like another thing caused by a stray cimport. I can get this code from
from cpython cimport type

I'm not completely confident that there isn't another way to get it, but we generate __Pyx_ImportType_3_0_0 when cimporting types.

Yup,  from cpython.bytes cimport PyBytes_AsString -> from .object cimport PyObject -> cimport cpython.type
I was able to work around the issue by cherry-picking the specific symbols I needed:
cdef extern from "Python.h":
  char* PyBytes_AsString(object string) except NULL

I'm still confused by the implementation though - why is __Pyx_ImportType_3_0_0 necessary?

I'm still confused by the implementation though - why is __Pyx_ImportType_3_0_0 necessary?

type.pxd includes type as an extern cdef class:
https://github.com/cython/cython/blob/master/Cython/Includes/cpython/type.pxd
It's largely just defined as opaque, but the idea is that you'd be able to inherit a cdef class from it:
cdef class SomeExtendedType(cpython.type.type):
    # ...

The check is that the size of type matches the size that Cython believes type to be. If it isn't then you end up with a binary compatibility mess. That's obviously more of an issue for when cimporting from 3rd party modules rather than builtin types, but the same logic applies to every cimported type.
However, it may all be pointless in this case. Cython already knows what type is without a cimport so you can already do
# Note that this will probably never work in the limited API, but it's just an illustration...)
cdef class T(type):
    pass

Therefore, I'm not really sure why we type defined as an extern class in this case since it doesn't give you access to anything new. We probably can't removeit from cpython.type easily without breaking existing code. But I don't think cpython.object needs to import it.
I think all this cimport cpython files are going to need some real thought about how they become limited-API compatible.

Aha, that all makes sense. Thanks.
It looks like the only usage of type in all of the .pxd files is:
ctypedef object (*newfunc)(cpython.type.type, PyObject*, PyObject*)  # (type, args|NULL, kwargs|NULL)
Can this be replaced with?
ctypedef object (*newfunc)(type, PyObject*, PyObject*)  # (type, args|NULL, kwargs|NULL)
Or:
ctypedef object (*newfunc)(PyTypeObject, PyObject*, PyObject*)  # (type, args|NULL, kwargs|NULL)

Can this be replaced with?
ctypedef object (*newfunc)(type, PyObject*, PyObject*)  # (type, args|NULL, kwargs|NULL)

I think so. Would want to do a bit of testing to check it didn't break existing code though, but I think that should work


Bug: Strong enough machines don't pass benchmark

Even after #9bccc8d7ca572f490a3cbd790be3863c022fa933 maybe we need to re-bench?

Weights and ref values are not yet correctly updated on the master.
They're all being updated in #119 as references values needs to be adjusted too.

Testing...

Looks like fixed. Closing now.


[android] use TargetFramework=net5.0-android and other cleanup

Bump to .NET 5.0.100-rc.2.20459.1
Bump to Microsoft.Android.Sdk 11.0.100-ci.master.127
Consolidate @(PackageReference) needed for Xamarin.Forms projects
in Directory.Build.targets.
No need to declare $(RuntimeIdentifier) in Android projects. Use
the defaults for these samples.
Hello, .NET 6!
ProduceReferenceAssembly=true is default in .NET 5+, not needed in
HelloForms.csproj.
Update README.md for Android specifics.

@rolfbjarne we have macOS 10.15 and Xcode 12 here now, but it's hitting something new:
Executing 'xcrun clang -miphonesimulator-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -I/Users/runner/work/1/s/packages/microsoft.ios.runtime.ios-x64/13.6.100-ci.main.379/runtimes/ios-x64/native -arch x86_64 -o /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/nativelibraries/main.x86_64.o -c /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/linker-cache/main.x86_64.mm'
2020-09-21 20:57:14.483 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/SpriteKit.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.506 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/SceneKit.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.547 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/MLKit.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.548 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/Metal.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.550 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/Metal.internal.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.551 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/Intents.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.552 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/IBCompilerPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.554 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.555 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/Core Data.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:14.557 xcodebuild[3000:29013] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '/Applications/Xcode_12.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/Clang LLVM 1.0.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-09-21 20:57:15.331 xcodebuild[3000:29013] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-17169/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCCompilerSpecificationInterfaceBuilder.m:112
Details:  Cannot register <DVTExtension 0x7f890c2c8eb0: Xcode.IBCocoaBuildSupport.PlatformDefinition.Cocoa (Xcode.IBCocoaBuildSupport.PlatformDefinition.Cocoa) from com.apple.dt.IDE.IBCocoaBuildSupport> (from /Applications/Xcode.app/Contents/PlugIns/IBCocoaBuildSupport.ideplugin) as a platform definition for macosx, <DVTExtension 0x7f890c4b0d00: Xcode.IBCocoaBuildSupport.PlatformDefinition.Cocoa (Xcode.IBCocoaBuildSupport.PlatformDefinition.Cocoa) from com.apple.dt.IDE.IBCocoaBuildSupport> (from /Applications/Xcode_12.app/Contents/PlugIns/IBCocoaBuildSupport.ideplugin) is already registered for that platform name
Object:   <XCCompilerSpecificationInterfaceBuilder>
Method:   +_platformDefinitionsByPlatformName
Thread:   <NSThread: 0x7f890a419300>{number = 1, name = main}
Hints:

Backtrace:
  0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   __77+[XCCompilerSpecificationInterfaceBuilder _platformDefinitionsByPlatformName]_block_invoke_2 (in DevToolsCore)
  4   __77+[XCCompilerSpecificationInterfaceBuilder _platformDefinitionsByPlatformName]_block_invoke (in DevToolsCore)
  5   _dispatch_client_callout (in libdispatch.dylib)
  6   _dispatch_once_callout (in libdispatch.dylib)
  7   +[XCCompilerSpecificationInterfaceBuilder _platformDefinitionsByPlatformName] (in DevToolsCore)
  8   __65+[XCCompilerSpecificationInterfaceBuilder allPlatformDefinitions]_block_invoke_2 (in DevToolsCore)
  9   __65+[XCCompilerSpecificationInterfaceBuilder allPlatformDefinitions]_block_invoke (in DevToolsCore)
 10   _dispatch_client_callout (in libdispatch.dylib)
 11   _dispatch_once_callout (in libdispatch.dylib)
 12   +[XCCompilerSpecificationInterfaceBuilder allPlatformDefinitions] (in DevToolsCore)
 13   __53+[IDEEmbeddedXCSpecProvider targetedDeviceFamilySpec]_block_invoke (in IDEiOSSupportCore)
 14   -[NSArray(DVTFoundationClassAdditions) dvt_arrayByApplyingBlock:] (in DVTFoundation)
 15   +[IDEEmbeddedXCSpecProvider targetedDeviceFamilySpec] (in IDEiOSSupportCore)
 16   +[IDEEmbeddedXCSpecProvider XCSpecProvider_specifications] (in IDEiOSSupportCore)
 17   +[XCSpecification registerSpecificationsFromDVTPlugInsForDomains:skippingDomains:] (in DevToolsCore)
 18   XCInitializeCoreIfNeeded (in DevToolsCore)
 19   +[Xcode3CoreInitializer ide_initializeWithOptions:error:] (in Xcode3Core)
 20   _IDEInitializeBuildSystem (in IDEFoundation)
 21   IDEInitialize (in IDEFoundation)
 22   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 23   main (in xcodebuild)
 24   start (in libdyld.dylib)
sh: line 1:  3002 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null
xcrun: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 34304: (null) (errno=No such file or directory)
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
/Users/runner/work/1/s/packages/microsoft.ios.sdk/13.6.100-ci.main.379/targets/Xamarin.Shared.Sdk.targets(356,3): Executing 'xcrun clang -miphonesimulator-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -I/Users/runner/work/1/s/packages/microsoft.ios.runtime.ios-x64/13.6.100-ci.main.379/runtimes/ios-x64/native -arch x86_64 -o /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/nativelibraries/main.x86_64.o -c /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/linker-cache/main.x86_64.mm' failed with exit code 72. Please review build log for more information. [/Users/runner/work/1/s/HelloiOS/HelloiOS.csproj]

logs.zip

Do we get clean bots on every build?

Do we get clean bots on every build?

We should most of the time. I just switched to a different pool that has macOS 10.15.

I removed provisionator as the new pool seems to already have Xcode 12, hitting a similar error, but slightly different:
Executing 'xcrun clang -miphonesimulator-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk -I/Users/runner/work/1/s/packages/microsoft.ios.runtime.ios-x64/13.6.100-ci.main.379/runtimes/ios-x64/native -arch x86_64 -o /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/nativelibraries/main.x86_64.o -c /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/linker-cache/main.x86_64.mm'
xcrun: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory)
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
/Users/runner/work/1/s/packages/microsoft.ios.sdk/13.6.100-ci.main.379/targets/Xamarin.Shared.Sdk.targets(356,3): Executing 'xcrun clang -miphonesimulator-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk -I/Users/runner/work/1/s/packages/microsoft.ios.runtime.ios-x64/13.6.100-ci.main.379/runtimes/ios-x64/native -arch x86_64 -o /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/nativelibraries/main.x86_64.o -c /Users/runner/work/1/s/HelloiOS/obj/Debug/net5.0-ios/ios-x64/linker-cache/main.x86_64.mm' failed with exit code 72. Please review build log for more information. [/Users/runner/work/1/s/HelloiOS/HelloiOS.csproj]

Are these machines not configured correctly? It seems like it can't find clang.

Are these machines not configured correctly? It seems like it can't find clang.

I don't know, I'll try a few things to see if I can figure out what's going on.


Add some key listeners to improve quality of life

change search form from onChange to keyup.enter
add on enter listeners to the search filter dropdown
fix the paginator first button active state.

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

Project coverage is 100.00%. Comparing base (2b669bf) to head (0083475).
 Consider uploading reports for the commit 6d7bd49 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              master       #74   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity       380       380
===========================================
  Files             79        79
  Lines           1015      1015
===========================================
  Hits            1015      1015

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


Failing to apply the patch

@isuruf something change from when we merged this up to know. See the error below:
Hunk #1 FAILED at 38.
Hunk #2 FAILED at 49.
2 out of 2 hunks FAILED -- saving rejects to file c/planarity.h.rej
Warning: failed to download source.  If building, will try again after downloading recipe dependencies.
Error was:
Command '['/usr/bin/patch', '-p1', '-i', '/Users/travis/build/conda-forge/planarity-feedstock/recipe/extern.patch']' returned non-zero exit status 1
Traceback (most recent call last):
  File "/Users/travis/miniconda3/bin/conda-build", line 6, in <module>
    sys.exit(conda_build.cli.main_build.main())
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/conda_build/cli/main_build.py", line 322, in main
    execute(sys.argv[1:])
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/conda_build/cli/main_build.py", line 313, in execute
    noverify=args.no_verify)
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/conda_build/api.py", line 97, in build
    need_source_download=need_source_download, config=config)
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/conda_build/build.py", line 1484, in build_tree
    config=config)
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/conda_build/build.py", line 984, in build
    assert not need_source_download, "Source download failed.  Please investigate."
AssertionError: Source download failed.  Please investigate.

This is stuck on master b/c of this. I will remove it manually from there since the feedstock creation worked.

Arghh. This is a CRLF/LF issue. I'll try to fix it.

:+1:

+1
"Source download failed.  Please investigate." is too specific of a message to emit when the true error is failure to apply a patch.
...especially as just happened to me, where the source was previously downloaded and cached, which just made this message all the more confusing.


keep a reference to the semanticdb reporter

Keep a reference to the reporter we're overriding. Other compiler plugins (silencer compiler plugin) can change the reporter and we're not guaranteed that it will be a StoreReporter. We can end up in a situation where the reporter is replaced and the messages aren't passed to the underlying reporter or ignored.

We (@laughedelic and myself) discovered this issue when I tried to use the silencer plugin in combination with scalafix. Both compiler plugins swap out the reporter with there own but pass the messages to the underlying reporter.

@tgodzik, I have applied the changes and force pushed them. I expected some pushback on the var but wanted to get it out there to see if it was in the right direction :-)
Thank you for the fast review.


vite_javascript_tag inconsistent

Code:
<%= vite_javascript_tag 'application', "clients/#{client_name}" %>

Expected:
/vite-ruby/entrypoints/application.js
/vite-ruby/entrypoints/clients/github.js

Actual:
/vite-ruby/entrypoints/application.js
/vite-ruby/clients/github.js

This results in a 404 for the client file

It might be inconsistent, but it's well documented.
Avoid nesting entrypoints, you can organize your code in outer directories as needed.


Problem adding Tensorflow to DIGITS 6

Hi, I have already installed tensorflow using pip install and tested it but when I run digits 6 it says that tensorflow support is disabled. Is there any variable that I should define?
`  ___ ___ ___ ___ _____ ___
|   _ / | | / |
| |) | | ( || |  | | _
|/_|| || |__/ 6.0.0-rc.1
Tensorflow support disabled.
`Thanks in advance

Nope, there are no variables to define for Tensorflow. FYI DIGITS uses Tensorflow 1.2.1 so it will use cuDNN 5 instead of 6 as Tensorflow 1.3 just came out a few days ago

Thanks @ethantang95 . The problem was Tensorflow version. It should be 1.2.1. Also cuDNN 5 not 6 as you said.


awesome

interesting to compile with strong loop .

Hi there! Not sure why you've opened this pull request against my fork of the twilio/twilio-node repo. Also, none of these commits seem to be yours. Can you explain?
Thanks

I updated my fork and this close the pull request.


Trev8939/generateGeodatabase

@doneill available to review this?
Issues which would require your attention:

Provide link for SanFrancisco.tpk from AGOL (as per provision your device in README)

Design decision of what to do with the local Geodatabase file (should it persist on closing?, be deleted? be stored in temp cache?)

Should the sample allow for multiple downloads of geodatabase, like in the TileCache sample or is once enough? At the moment the app removes the generate button once a local geodatabase has loaded.

@TADraeseke I notice the data has not been add to AGOL, I will do that tomorrow and review.

@TADraeseke I updated the README with data links, please verify it works for you.

@doneill Thanks for review. All PR fixes taken care of. I just realized I've been using Analyze -> Inspect Code on .java file instead of the module, which explains why I kept missing the unused resources. I should catch more of these going forward!
Just wanted to bring up one more time (in case it gets forgotten about). Is there a feeling on storing local info on the Android device when generated through a job like this? Android best practice seems to suggest we should be using the CacheDir. Alot to be said for letting Android OS take care of files. However, it maybe makes samples less clear, in that the developer can't as easily navigate to a local folder to see that data has been stored locally?
I only ask since this sample is directly affected.
This code is pretty ugly, as onDestroy is not guaranteed to be called within Android lifecycles:
@Override protected void onDestroy() {
    super.onDestroy();
    if (isFinishing()) {
      boolean deleted = new File(mLocalGeodatabasePath).delete();
      if (deleted) {
        Log.i(TAG, "Local Geodatabase deleted.");
      } else {
        Log.e(TAG, "Failed to delete local Geodatabase.");
      }
    }
  }

@TADraeseke We persist/provision data on internal storage when apps are intended to be used offline. The context of this sample is that while online we can generate a geodatabase locally.  A use case for that context would be to persist the data but since we don't take it that far I agree that we should take advantage of caching data.  Go ahead and refactor to support use of getCacheDir() and save the File as a temporary cache file.  We should also ensure we limit size of the geodatabase to within a reasonable limit, e.g. < 5MB.

@doneill Have refactored to use the CacheDir, but don't know the best way to limit geodatabase size before its generated by the job. Any tips in that regard?
Maximum for this sample (taking the whole of san francisco) is 1.3 mb


Update RemoteDockerImage to not retry on fatal error, allow user to specify custom retry time limit

This pull request resolves "issue" reported in #829.
It updates the code so we don't try to retry on "no basic auth credentials" error which would get returned in case Docker credentials helper is not configured (e.g. when using private registries). This error is fatal so we should not retry on it.
In addition to that, I updated the constructor so users can specify a custom retry time limit.

As far as tests go - I couldn't find existing tests for the whole logic inRemoteDockerImage.resolve() (please correct me if I'm wrong).
I could split "fatal error detection logic" in a static  utility function and just add a unit test for that. Ideally though, we would have a better test for the whole resolve() method, but this would require mocking a bunch of things (if there are already any existing tests with that pattern which I could use as a starting point, please point me to them).


Minor quick fix for sort.

Hey I have made an quick fix that works for now.

Nice catch, looks like I went a little overboard with the binding values


OCPBUGS-36387: resource group not found should not prevent azure infr…

What this PR does / why we need it:

OCPBUGS-36387: resource group not found should not prevent azure infra deletion from proceeding

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes # OCPBUGS-36387
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/approve

/jira refresh

/test e2e-aws


[ko] Update outdated files in dev-1.26-ko.1 (M1)

Signed-off-by: jongwooo<EMAIL_ADDRESS>Description
Related Issue: #38458
1 file to be modified

[ ] M1.  content/en/community/code-of-conduct.md | 1(+XS) 1(-)

@jongwooo 첫 기여를 환영합니다!!
/lgtm
입니다! :)

/approve

/retitle [ko] Update outdated files in dev-1.26-ko.1 (M1-M2)


chore(typo): fix typo

Description
Lately I've been learning about the state management approach of libraries and wanted to do something similar. And I found this repository, when I read the code, I found a typo.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[X] 🗑 Chore

Good catch @dungngminh 🤡

@hoc081098 🤡


[CUR-791] Child subject & tier subtitle on title page for docx

Description
Music year: {owa_music_year}

Updated title page to have correct subtitle according to filters
Updated filename to have proper formatting (e.g. "Combined-science" becomes "Combined science") for subject titles longer than a word

How to test

Go to {owa_deployment_url}
Click on ______
You should see ______

Screenshots
How it used to look (delete if n/a):

How it should now look:

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

@sonalisin Can I have a screenshot of a Secondary document for another subject that doesn't have child subjects or tiers (e.g. English?) Other than that, all looks good!


Data Science with Python: Multi-agent reinforcement learning

Description 📜
In this contribution, I have explained about the multi agent reinforcement learning in detail, how it can be implemented, its types, applications and relevant libraries and codes related to it.
Fixes #6366

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Datascience with Python

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@prathimacode-hub please review this PR and let me know if it needs any changes!!


Upgrade to Netty 4.1.19.Final

Found a critical DNS bug was fixed in the recent version of Netty
https://github.com/netty/netty/commit/844d804aba4b459215f05c9ade59157f6c2cfb4b#diff-8a94497e9e56fe3bc57fb556b89c2f89
And of course it also contains my cancelTimeout optimization :)
@trustin Do you think we'd be able to do the upgrade and armeria release soon to fix this DNS bug?

Yes. Was going to release this week.

Done via #926


Using from .NET 4.6.1 and .NET Standard 2.0?

Hello, I'm running into issues using this from .NET 4.6.1 and .NET Standard 2.0. It appears that we won't be able to use Refit from Azure functions (which relies on .NET 4.6.1) until the dependency on .NET 4.5 is upgraded to .net 4.6.1. Any chance on doing this anytime soon? Would love to utilize this in a few projects we are working on! Cheerz!

I'm not sure I understand? Functions run on app services and that is on Net 4.7 now.

Hello, I'm trying to use this from Azure functions and I keep on getting this error: "Exception while executing function: EventSinkFunction. mscorlib: Constructor on type AutoGeneratedIPublicEventsApi' not found.
Any thoughts on this? Sorry I thought this might be happening because of the .NET version

Hello, Apologies for the confusion. I'm beginning to think that this is an Azure functions issue. I was able to run this from a Console app without any issues.


Update directory-structure.md

For self-contained deployments (at least on ASP.NET Core 5.0) the *.exe extension is only generated for Windows. For Linux (and presumably macOS) no extension is generated. This behaviour is consistent with that for framework-dependent deployments so I just copied the relevant text. I am not sure if the behaviour applies to versions <= aspnetcore-3.0 so I haven't touched the text there.
It may also be useful to add that if you choose the Produce single file option when publishing, none of the *.dll files remain in the publish directory (I love this feature!).

Fixes #21344

Fixes #21344

@jkotalik can you suggest a reviewer?

@jkotalik can you suggest a reviewer?

@shirhatti @jkotalik @AngelosP 30 second review. This looks right to me.


Trivy Security scan error

This is my dockerfile which I am using for installing multiple versions of node .
FROM ubuntu
ENV NVM_DIR /usr/local/nvm
RUN mkdir -p $NVM_DIR
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.39.7/install.sh | bash
&& . $NVM_DIR/nvm.sh
&& nvm install 14.21.3
&& nvm install 16.15
&& nvm install 18.16.1
&& nvm install 20.11.0
RUN chmod +x $NVM_DIR/nvm.sh
ENV NODE_14_PATH $NVM_DIR/versions/node/v14.21.3/bin
ENV PATH $NODE_14_PATH:$PATH
ENV NODE_16_PATH $NVM_DIR/versions/node/v16.15.1/bin
ENV PATH $NODE_16_PATH:$PATH
ENV NODE_18_PATH $NVM_DIR/versions/node/v18.16.1/bin
ENV PATH $NODE_18_PATH:$PATH
ENV NODE_20_PATH $NVM_DIR/versions/node/v20.11.0/bin
ENV PATH $NODE_20_PATH:$PATH
RUN export NVM_DIR="/usr/local/nvm"
&& [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
&& [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"
When I execute this command below:-
trivy image --severity HIGH,CRITICAL --gnore-unfixed image_name
I am getting these vulnerabilities:-

Any idea how to resolve these security vulnerabilities ?
Thanks

Those have nothing to do with nvm, since nvm doesn’t have any runtime npm dependencies. You’ll have to address the problem in your own code.


[CONTROLLER/PROMETHEUS] fixes label value id bug

This PR is for:

Server

fixes label value id bug
Steps to reproduce the bug
Changes to fix the bug
Affected branches

v6.3

Checklist

[ ] Added unit test to verify the fix.
[ ] Verified eBPF program runs successfully on linux 4.14.x.
[ ] Verified eBPF program runs successfully on linux 4.19.x.
[ ] Verified eBPF program runs successfully on linux 5.2.x.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[WIP] Add Editor Selected Resource

closes #268

I think it would be best to make this less Java/C# like and more like the ShouldStop resource.
You can make this resource just a struct with an Entity handle. No need to add methods.
Also! Entity is already a handle on itself, no need to wrap it with std::shared_ptr


Device tracker reports negative altitude and gives an error in log

HA Client version: 1.1.2 [Main menu -> About HA Client]
Home Assistant version: 0.102.3
Device name: Samsung S8
Android version: 9
**Error in the HA Log stating that we should have a minimum value for altitude (Tracking). Somehow my phone reports a negative value. Maybe set a minimum limit of 0 in the app so it does not throw an error?
 2019-12-12 19:45:19 ERROR (MainThread) [homeassistant.components.mobile_app.webhook] Received invalid webhook payload: value must be at least 0 for dictionary value @ data['altitude']. Got -2
Thanks for the great work!
**
Screenshots
[Replace with screenshots]

That's strange =) Will look into it. Thanks for report.

I have the same error on the same version of Hass. I wonder if anyone running the latest version is having a problem.
Android 10
Pixel 4 XL


Execution of all type of languages in atom

Summary

Motivation

Describe alternatives you've considered

Additional context

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


How to add recurring appointments until the specified date in the Flutter Calendar

is there a workaround that allow recurring appointments functionality using this flutter_calendar_view??

Hi @amjad07, Currently this package does not provide that functionality for now. But we are planning to add it soon. And also we are open to any code contribution. so if you would like to create a PR with the functionality then we are happy to have that.
Thanks.

Closing this issue because of similar issue is open #163


Azure webpubsub service initial client library version

/azp run prepare-pipelines

@johanste did a quick look through the failing sdist error, it seems to be mad that your examples folder is not called samples, and that samples is not included in MANIFEST.in